Skip to content

[DropdownMenu] / [IconButton] accessibility: missing aria-label, aria-labeledby #6906

@petermikitsh

Description

@petermikitsh

Problem description

Using lighthouse, I noticed that DOM button node rendered by EnhancedButton -> IconButton -> DropdownMenu are missing aria-label and aria-labeledby attributes, leading to accessibility concerns. Minimally, the aria-label should be passed through the DropDownMenu implementation and propagated down the tree to the button.

Link to minimal working code that reproduces the issue

Reference any DropdownMenu on the docs site.

Versions

  • Material-UI: 0.18.1
  • React: Not Sure
  • Browser: Chrome

Description

Images & references

Lighthouse report:

screen shot 2017-05-19 at 8 10 56 pm

Example of invalid DOM node:

screen shot 2017-05-19 at 8 11 15 pm

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions