From f1db0cf027a8dc3c1d3065ae8de40d9beecd50e3 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 3 Oct 2019 09:35:39 +0100 Subject: [PATCH] Various ARIA a11y fixes. Notate RightPanel tabs. Shorten Screen Reader queues. Make AccessibleTooltipButton screen reader friendly Flatten DOM for Sticker button using React Fragments Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/structures/FilePanel.js | 3 +- .../structures/NotificationPanel.js | 3 +- src/components/structures/RoomSubList.js | 2 +- .../views/elements/AccessibleTooltipButton.js | 25 +++++----- .../views/groups/GroupMemberInfo.js | 2 +- .../views/groups/GroupMemberList.js | 2 +- src/components/views/groups/GroupRoomInfo.js | 2 +- src/components/views/groups/GroupRoomList.js | 2 +- .../views/right_panel/HeaderButton.js | 5 +- .../views/right_panel/HeaderButtons.js | 2 +- src/components/views/rooms/MemberInfo.js | 50 +++++++++---------- src/components/views/rooms/MemberList.js | 2 +- src/components/views/rooms/RoomTile.js | 7 +-- src/components/views/rooms/Stickerpicker.js | 4 +- .../views/rooms/ThirdPartyMemberInfo.js | 2 +- src/i18n/strings/en_EN.json | 6 +-- 16 files changed, 62 insertions(+), 57 deletions(-) diff --git a/src/components/structures/FilePanel.js b/src/components/structures/FilePanel.js index 2b9594581e..fb2bdcad42 100644 --- a/src/components/structures/FilePanel.js +++ b/src/components/structures/FilePanel.js @@ -126,11 +126,12 @@ const FilePanel = createReactClass({ tileShape="file_grid" resizeNotifier={this.props.resizeNotifier} empty={_t('There are no visible files in this room')} + role="tabpanel" /> ); } else { return ( -