Skip to content

Commit 6fa38cf

Browse files
Accessibility attributes added to HelpScout button
Accessibility attributes have been added to the HelpScout component button. This addition will lead to an improvement of the accessibility score of the page where the library is loaded.
1 parent 069914c commit 6fa38cf

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/components/HelpScout/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ const HelpScout = ({
208208
}}
209209
>
210210
<button
211+
aria-label="Load Chat"
212+
aria-busy="true"
213+
aria-live="polite"
211214
onClick={() => loadChat({ open: true })}
212215
onMouseEnter={() => loadChat({ open: false })}
213216
style={{

0 commit comments

Comments
 (0)