Language switcher accessibility issues: unique ARIA IDs, aria role mismatch

Created on 6 September 2024, 4 months ago
Updated 12 September 2024, 3 months ago

Problem/Motivation

Lighthouse is reporting accessibility problems for dropdown language switcher block. We are missing the role attribute and id we are generating is hard-coded which is not good if you use more then one language switcher on the same page.

MDN has a nice menu dropdown example for our case https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/me....

🐛 Bug report
Status

Fixed

Version

1.0

Component

BS Bootstrap

Created by

🇷🇸Serbia pivica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024