Skip to content

WCAG 4.1.2: Ensure buttons have discernible text (fluent-button[_bl_9e1f718c-5574-4e90-b63a-de5c1aba3a0b=""],.icon-only[value=""]) #8857

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
adamint opened this issue Apr 17, 2025 · 0 comments · Fixed by #9017

Comments

@adamint
Copy link
Member

adamint commented Apr 17, 2025

Issue

Ensure buttons have discernible text (button-name) [all hidden buttons + the collapse/expand button on resources + trace details]

Target application

TestShop resources

Element path

fluent-button[_bl_9e1f718c-5574-4e90-b63a-de5c1aba3a0b=""],.icon-only[value=""]

Snippet

<button class="control icon-only" part="control" type="button" value=""><!----><span part="start"><slot name="start"></slot></span><span class="content" part="content"><slot></slot></span><!----><span part="end"><slot name="end"></slot></span></button>

How to fix

Fix any of the following:
  Element does not have inner text that is visible to screen readers
  aria-label attribute does not exist or is empty
  aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
  Element has no title attribute
  Element does not have an implicit (wrapped) <label>
  Element does not have an explicit 
@adamint adamint self-assigned this Apr 17, 2025
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Apr 17, 2025
@adamint adamint added a11y area-dashboard a11y-insights and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Apr 17, 2025
@adamint adamint added this to the 9.3 milestone Apr 17, 2025
@adamint adamint mentioned this issue Apr 29, 2025
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant