-
Notifications
You must be signed in to change notification settings - Fork 10
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
Fix Nested Interactive Accessibility Violation #10396
Comments
Test Cases
|
Some testing feedback: When I use NVDA and I hover over these tabs in DAWSON on TEST, it no longer reads aloud. I double checked Production, and the screen reader is reading these tabs when I hover my mouse over them. @Mwindo did some research and found that this may be an existing issue with NVDA and that fixing the violation may actually have made it "correct" behavior. For documentation purposes, I am listing the menus that are NOT being read aloud when hovering over. Some menu's in DAWSON still do read aloud (like trial sessions menu tabs and the Search menu tabs). Note: Edge's Read aloud tool reads the menu's on Test and so does the Microsoft Narrator. @Mwindo - Please let me know what you find out, are we still in violation, or is this actually desirable behavior? Document QC (my document QC and Section) |
Just a quick update: the tabs that continued to be read aloud by NVDA are those that have a |
Our I have pushed changes so that we render EDIT: The above fix won't work (the button, which has role="tab", must be the direct descendant of the "tablist", but the heading separates them). This is actually a bit of a tricky issue. Outline of the issue: We originally used h2 headers to address this ticket: https://app.zenhub.com/workspaces/flexionef-cms-5bbe4bed4b5806bc2bec65d3/issues/gh/flexion/ef-cms/8106. However, the solution that closed this ticket was actually problematic; in fact, I don't even think it solved the issue because descendants of tab are presentational (which means they are no longer part of the accessibility tree, rendering the heading basically useless). In this case, we are sort of trying to have our cake and eat it too: we want to enforce the semantics of the heading while at the same time enforcing the interactivity of the tabs (via button). I'm not sure if there is a clean way to do this, and we might have to choose one or the other. |
I have thought about this off-and-on for a few days. It is surprisingly tricky. Long story short: the relationship between I will discuss options with the team. EDIT: Actually, I think I finally found a good solution. We can put a screen-reader only (see, e.g., this example styling from bootstrap), duplicative header within the tab-panel content. This ensures:
|
I've pushed this fix to test. |
There is now consistent behavior with NVDA. I do want to note that none tabs are being read aloud now with NVDA, and I'm not entirely sure if this is desirable behavior? I did some testing with Microsoft narrator and Edge's read aloud tool, and both of these tools do read the tabs aloud when hovering your mouse over them. It may just be an issue with NVDA??? |
@ttlenard Yeah, I think different screen readers have slight differences in what they read out by default on hover. I think if tabs behavior is consistent (per tool), we should be good to go! |
As a user of Dawson, so that I can navigate the application using a screen reader and other accessibility tools, I need the tabs in Dawson to be free of accessibility violations.
Pre-Conditions
10382
Acceptance Criteria
Notes
Tasks
Test Cases
Story Definition of Ready (updated on 12/23/22)
The following criteria must be met in order for the user story to be picked up by the Flexion development team.
The user story must:
Process:
Flexion developers and designers will test if the story meets acceptance criteria and test cases in Flexion dev and staging environments (“standard testing”). If additional acceptance criteria or testing scenarios are discovered while the story is in progress, a new story should be created, added to the backlog and prioritized by the product owner.
Definition of Done (Updated 5-19-22)
Product Owner
Engineering
The text was updated successfully, but these errors were encountered: