Skip to content

Commit b72fad5

Browse files
authored
Merge pull request #239 from rebeccaalpert/a11y-223
fix(MicrophoneButton): Tooltip should be an aria-live region
2 parents b673e28 + c1ede53 commit b72fad5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/module/src/MessageBar/MicrophoneButton.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ export const MicrophoneButton: React.FunctionComponent<MicrophoneButtonProps> =
8181

8282
return (
8383
<Tooltip
84+
aria="none"
85+
aria-live="polite"
8486
id="pf-chatbot__tooltip--use-microphone"
8587
content={isListening ? 'Stop listening' : 'Use microphone'}
8688
position={tooltipProps?.position || 'top'}

0 commit comments

Comments
 (0)