Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Accessibility Issue with md-list-items #9831

@manish2535

Description

@manish2535

Actual Behavior:

  • What is the issue? * md-list-item with ng-click on them gets rendered as buttons. These buttons do not actually have any text inside. According to https://www.w3.org/TR/WCAG20-TECHS/H91 a button element should have a name available. For a button a "name" can mean either the text inside or the title attribute.
  • What is the expected behavior? The button element should have a title just like the aria-label attribute with the same content as in the aria-label if there is no text inside the button element.

CodePen (or steps to reproduce the issue): *

Angular Versions: *

  • Angular Version: 1.1.1
  • Angular Material Version: 1.5.5

Additional Information:

  • Browser Type: * Chrome
  • Browser Version: *
  • OS: *
  • Stack Traces:

Shortcut to create a new CodePen Demo.
Note: * indicates required information. Without this information, your issue may be auto-closed.

Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.

Metadata

Metadata

Assignees

Labels

BlockedProgress on this issue is blocked. Primarily used for PRs that are blocked by presubmit feedback.P0: criticalCritical issues that must be addressed immediately.a11yThis issue is related to accessibility

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions