Skip to content

Commit 50a6335

Browse files
authored
[A11Y] Status icon should not be keyboard tab navigable (#4634)
* Status icon should not be keyboard tab navigable, only by voiceover navigation. * Change files
1 parent 372a484 commit 50a6335

3 files changed

+19
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "patch",
3+
"area": "fix",
4+
"workstream": "",
5+
"comment": "Status icon should not be keyboard tab navigable, only by voiceover navigation.",
6+
"packageName": "@azure/communication-react",
7+
"email": "[email protected]",
8+
"dependentChangeType": "patch"
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "patch",
3+
"area": "fix",
4+
"workstream": "",
5+
"comment": "Status icon should not be keyboard tab navigable, only by voiceover navigation.",
6+
"packageName": "@azure/communication-react",
7+
"email": "[email protected]",
8+
"dependentChangeType": "patch"
9+
}

packages/react-components/src/components/MessageStatusIcon.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ export const MessageStatusIcon = (props: MessageStatusIconProps): JSX.Element =>
2929
<>
3030
{/* live message is used here so that aria labels are announced on mobile */}
3131
{ariaLabel && shouldAnnounce && <LiveMessage message={ariaLabel} ariaLive="polite" />}
32-
<div
33-
// make icon accessible
34-
tabIndex={0}
35-
>
32+
<div>
3633
<Icon
3734
role={'status'}
3835
// Role `status` is one of the live region roles and is used to notify screen readers of changes to the status of the message

0 commit comments

Comments
 (0)