Skip to content
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

Would have preferred <details> and <summary> usage for the buttons to expand restaurant information #151

Open
prushforth opened this issue Jan 23, 2025 · 1 comment
Labels
JAWS User Testing Version Number: 2024.2312.99

Comments

@prushforth
Copy link
Member

The JAWS screen reader user reported a concern about the expand/collapse buttons used for the restaurant details. The user identified that these buttons should have ideally been implemented with HTML native <details> and <summary> tags.

The <details> and <summary> tags are used to create an "accordion" functionality, which comes with all necessary JavaScript and ARIA roles for a screen reader to recognize and announce state changes in these elements, especially transitions between "collapsed" and "expanded" states.

The user said, "So if you use those summary details panels that come with the HTML system and you don't modify the ARIA roles in any way, the button will be activated in browse mode and it will report its state when it becomes activated. If you activate it again, it will report the change from expanded to collapsed." It seems that the built-in features of the HTML system are well-configured for accessibility.

Conversely, the current custom-made interaction buttons hinder effective navigation, requiring double pressing to trigger their actions. The user suspects an unwarranted application identifier resulting in this unexpected behavior: "I'm guessing they've put some sort of application identifier on that button that shouldn't be there."

Additionally, the issue exacerbates for those having automatic forms mode enabled in their screen readers, leading to an unreliable user experience. The user mentions, "Furthermore, if you have automatic forms mode turned on in your screen reader, it makes things even worse."

@prushforth prushforth added the JAWS User Testing Version Number: 2024.2312.99 label Jan 23, 2025
@prushforth
Copy link
Member Author

prushforth commented Jan 28, 2025

Need to evaluate how forms vs browse mode affects feature interaction. I think part of the issue may be that geographic features or locations are being "modelled" as buttons in this html simulation of a map, and there needs to be the notion of a feature that can be interacted with. Of course we are leveraging expanded and collapsed here, and how that relates to a geographic feature needs to be clarified.

Also, we are considering providing a "prefers table" approach that would interpret the map as a table and each feature or location in the map as a row in the table. In such a situation, the details/summary approach would work VERY well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JAWS User Testing Version Number: 2024.2312.99
Projects
None yet
Development

No branches or pull requests

1 participant