Skip to content

fix: label Clear filters for assistive technology - #17

Draft
janicduplessis wants to merge 1 commit into
mainfrom
@janic/issue-1-clear-filters
Draft

fix: label Clear filters for assistive technology#17
janicduplessis wants to merge 1 commit into
mainfrom
@janic/issue-1-clear-filters

Conversation

@janicduplessis

Copy link
Copy Markdown
Contributor

Description

The Trails empty-results action was announced only as “Clear filters.” Give it the explicit assistive-technology label “Clear all trail filters” while leaving its visible text and filter-reset behavior unchanged.

Closes #1

Test plan

  • On the Stim-owned iOS simulator, searched for no-matching-trail, then selected Adirondacks and Hard to exercise all three filter types in the empty-results state.
  • Verified the action’s accessibility-tree label changes from Clear filters to Clear all trail filters.
  • Pressed the labeled action and verified the search reset to Search trails, All regions and Any level were selected, and the list returned to 200 trails.

Before

Accessibility tree: [button] "Clear filters"

Before: empty results with Clear filters action

After

Accessibility tree: [button] "Clear all trail filters"

After: identical empty-results UI with the explicit assistive-technology label

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Hackathon demo] Label the Clear filters action for assistive technology

1 participant