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

Add heading as label for the link list in post-search component #1344

Closed
oliverschuerch opened this issue Apr 18, 2023 · 0 comments · Fixed by #1371
Closed

Add heading as label for the link list in post-search component #1344

oliverschuerch opened this issue Apr 18, 2023 · 0 comments · Fixed by #1371
Assignees
Labels
💜 accessibility 📦 internet-header Related to the @swisspost/internet-header package 📯 post-portal

Comments

@oliverschuerch
Copy link
Contributor

Inside the search flyout there is a h2 title. If the user tab trough the list she/he knows not to which title the list item belongs.
Add an id attbute to the h2 title in the flyout and an aria-labelledby attribute to the corresponding link list underneath the title.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💜 accessibility 📦 internet-header Related to the @swisspost/internet-header package 📯 post-portal
Projects
Development

Successfully merging a pull request may close this issue.

2 participants