Repository navigation
Conversation
Filter and SearchFilter take an optional resetLabel so the reset row can name the filter it clears. Inactive trigger text uses the secondary content color and stays at 4.5:1 on hover and focus.
The list was labelled by the whole trigger, so NVDA read the arrow icon
ligature ("keyboard_arrow_down") and the selected value as its name. It is
now labelled by the filter label only, like Filter.
Ovgodd
marked this pull request as draft
November 19, 2026 09:56
7 tasks done
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Prepares suitenumerique/drive#897 (RGAA 7.1, blocking).
The reset row of a filter only says "Reset". A screen reader user hears that word and cannot tell which filter it clears. On hover or focus, the inactive trigger text falls under the 4.5:1 contrast ratio.
In
SearchFilter, the list was named after the whole trigger. NVDA announced "keyboard_arrow_down, liste": the Material icon ligature leaked into the name, even though the icon isaria-hidden, because the trigger was thearia-labelledbytarget. The selected value was part of the name too.Proposal
FilterandSearchFilter: new optionalresetLabel. The reset row shows that string. When it is omitted, the label stays "Reset" (components.searchFilter.reset).aria-hidden="true". The visible text and the accessible name are the same string.SearchFilterlist: was "keyboard_arrow_down", now the filter label only, e.g. "Partagé avec", like theFilterlist. The trigger still reads "Partagé avec : Mark Down".SearchFilterlist is named "Category", before and after a selection.Out of scope
QuickSearchrenders its children, including the Drive filters, inside the "Suggestions" listbox: [A11Y] Improve global search field and results accessibility drive#911