Skip to content

A11y Bug 8780675: Voice Access is showing numbers for the non interactive controls.#638

Merged
KethanaReddy7 merged 1 commit intouser/kpeddireddy/LocationButtonTabfrom
claude/issue-634-20260309-0501
Mar 11, 2026
Merged

A11y Bug 8780675: Voice Access is showing numbers for the non interactive controls.#638
KethanaReddy7 merged 1 commit intouser/kpeddireddy/LocationButtonTabfrom
claude/issue-634-20260309-0501

Conversation

@KethanaReddy7
Copy link

@KethanaReddy7 KethanaReddy7 commented Mar 10, 2026

This pull request makes a minor accessibility and markup adjustment to the SectionPickerClass component. The change simplifies the label structure and ensures that the option label is correctly hidden from screen readers by moving the aria-hidden="true" attribute to the container div and removing the unnecessary label element.

Summary

  • Added aria-hidden="true" to hide the Location label from Voice Access
  • Changed <label> to <span> since screen reader accessibility is provided by addSrOnlyLocationDiv

Test Plan

  • Open OneNote Web Clipper dialog
  • Enable Voice Access
  • Say "Click Location" and verify no number appears on the Location text
  • Verify the Location picker still functions correctly
  • Test with screen reader to ensure accessibility is maintained

Demo after fix
https://github.com/user-attachments/assets/1cb5adf3-cf8c-4e9e-bb20-ee7d0e340cad

Generated with Claude Code

…erlay

The Location text label was being treated as an interactive element by
Voice Access, causing it to display a number for the non-interactive control.
This fix adds aria-hidden="true" to the optionLabel div and changes the
label element to a span, since screen reader accessibility is already
provided by the addSrOnlyLocationDiv function.

Fixes #634

Co-authored-by: KethanaReddy7 <KethanaReddy7@users.noreply.github.com>
@aanchalbhansali
Copy link
Contributor

@KethanaReddy7 Please update the description with the summary.

@KethanaReddy7 KethanaReddy7 merged commit dd82ed0 into user/kpeddireddy/LocationButtonTab Mar 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants