Midpoint Review - Accessibility Feedback - Public Websites, Resources and Support, Search experience enhancements, Phase 1 #98001
Labels
accessibility
collab-cycle-feedback
For VSP Collaboration cycle feedback assigned to VFS
collaboration-cycle
For VSP Collaboration Cycle requests and improvements
midpoint-review
Collaboration Cycle Midpoint Review
Public Websites
Global Unauthenticated Experience team for va.gov. Products include home page, content hubs...
Resources and support
sitewide
Milestone
Next Steps for the VFS team
@platform-governance-team-members
.Thoughts/questions
Feedback
Practice areas will document their feedback on the VFS-provided artifacts following the Must, Should, and Consider Framework. Platform Governance reviewers may also provide additional notes that don’t comment on the artifacts themselves but are important for implementation (eg. engineering/coding notes).
Must: The Filter by drawer should have similar accessibility functionality as a modal, and I would recommend starting with the
va-modal
component as the template for coding this component. That includes:role="dialog"
andaria-modal="true"
)Must: I have significant concerns about making the "Apply filters" and "Clear all" buttons sticky to the bottom of the viewport, particularly for how it may impact low vision users.
On small viewports / at high zoom (WCAG requires support up to 400%), the sticky elements may obscure other elements.
On large viewports for users of screen magnifiers (either software or physical devices on their monitor), sticking the buttons at the bottom right corner of the screen with a lot of white space between them and the filter options may make them difficult to find.
In general, I would recommend keeping related controls in relatively close proximity and allowing the page to flow naturally on a user's device rather than trying to overengineer the placement of elements.
Must: I'm very concerned about how the placement of the "Show filters" button and the planned focus management may impact screen reader users. If I'm a screen reader user who enters a search term and presses the search button, focus is moved to "Showing 1 - X of Y results." From there, I'll proceed to explore the search results --- and never once have any reason to believe that there were filter options available to me.
I have a couple of possible suggestions for how this could be addressed (and I'm open to other solutions too!):
Must: When searching and when filtering, update the "Showing 1 - X of Y results" message to include more information about the current state. Thinking again about screen reader users and focus management, after you press search and/or apply filters, you get a summary message that doesn't actually tell you if what you've done happened --- you have to backtrack to either find the search term or find the active filters. A message like "Showing 1 - X of Y results for 'term' with 3 filters applied" would give all users, but especially screen reader users, a clear summary of the current state and a confirmation that the intended action occurred.
Must: When filters are applied and the filter chips are shown, the "Clear all" button must be styled to look like a button, not a link. We try to maintain material honesty on VA.gov wherever possible, in part because the interaction patterns for links and buttons are different for various assistive technology users.
For example, one common way for voice command/speech recognition users to interact with a link or a button is to speak the command "Click link" or "Click button," have all of the elements of that type highlighted on the page with numerical identifiers, and then select the one you want. If an element is visually styled as a link but semantically a button, you may expect "Click link" to work --- only for it to not be highlighted as an option. Then you have to guess what went wrong, and a lot of users may assume it's broken before the guess that it's secretly a button styled as a link.
This may be a good use case for the button icon component in VADS. The component doesn't currently support "Clear all" as text but I think it's a good option to discuss with the Design System Team.
Should: Ryan Thurlwell alluded to this in the meeting --- I'm a little worried about the color contrast for the filter chips. The text against the light blue background should be fine, but the chip background against the white background of the page has a contrast ratio of just 1.14:1. The essential information communicated by the text is still perceivable, but I think the element would be stronger if it was easier to distinguish from its surroundings. I would recommend a border around the edge of each chip that has at least a 3:1 contrast ratio against the white background. (That may also help with the next item too.)
Must: The filter chips aren't quite like any existing element in the design system. They're close to the tag component but their shape and typography are a bit different. They're button-ish, but they don't really match any of the existing button styles.
From their intended use, I would expect them to be semantically
button
elements, since clicking one performs an action on the page (removes a filter). In order to maintain material honesty and make assistive technology interactions predictable, they need to be styled to be recognizably button-y.I think what you have now is pretty button-y already, especially if they're given a border. But I think it's worth checking in with the Design System Team and Matt Dingee in particular to evaluate the filter chips as a new button style, and to ensure that the design system has sufficient guardrails in place for when a chip-style button is and isn't appropriate.
Must: When viewing a details page linked from the results, the filter chips are present again to show the taxonomical labels for the page. But the chips play a different role here when clicked (navigational rather than action), and those differences need to be reflected in both the semantics and the visual presentation. Is there a reason why they couldn't just be ordinary links here?
Governance team actions
The text was updated successfully, but these errors were encountered: