Skip to content

Give tag filter select a real accessible label - #776

Open
GuillermoBarreto wants to merge 1 commit into
firstcontributions:mainfrom
GuillermoBarreto:fix/tag-filter-aria-label
Open

GuillermoBarreto wants to merge 1 commit into
firstcontributions:mainfrom
GuillermoBarreto:fix/tag-filter-aria-label

Conversation

@GuillermoBarreto

Copy link
Copy Markdown

What

The tag-filter <select> in src/components/ProjectList.astro now uses aria-label="Filter by tags" instead of aria-labelledby="tag-selector-container".

Why

The old aria-labelledby pointed at the select's own wrapping <div>, which contains no label text of its own — so screen readers got no usable name for the control. The new label matches the control's purpose (and its default "Filter by tags" option), giving assistive technology a real accessible name.

No visual or behavioral change.

This branch has not been deployed

No deployments
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.

1 participant