Skip to content

The language dropdown menu does not have the correct behavior #1428

@cyberbaloo

Description

@cyberbaloo

Bug Report

Problematic behavior
The language dropdown menu behaves like a button. This is confusing for users of assistive technologies, as the behavior is not the same as a standard dropdown menu.

Expected behavior/code
When selecting an item from the language menu, users cannot tell how many languages are available, nor which language is selected once they are in the menu.

Steps to Reproduce

  1. Open a Docs document
  2. Enable a screen reader
  3. Use the keyboard to navigate to the language menu
  4. Try to change the language and identify which one you have selected...

Possible Solution
Use the APG pattern which has the correct behavior: "When a menuitemcheckbox or menuitemradio is checked, aria-checked is set to true

There is an example at this address with a codepen.

Some additional information on this page.

Additional context/Screenshots
Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions