components icon indicating copy to clipboard operation
components copied to clipboard

MatStepper `tabpanel` element should not have `tabindex="0"`

Open Wloclawek opened this issue 6 years ago • 3 comments

Reproduction

Steps to reproduce:

  1. Open: https://material.angular.io/components/stepper/api
  2. Use tab and go to first input.

Expected Behavior

Focus should always be visible (users using only the keyboard).

A11Y / WCAG / accessibility

Actual Behavior

Between the first step (tab) and the first field, the focus disappears.

Environment

  • Angular: 8.
  • Angular Material: 9.2.4
  • Browser(s): Firefox 77, Chrome 83
  • Operating System: Windows 10.

Wloclawek avatar Jun 09 '20 07:06 Wloclawek

Looked at this, the role="tabpanel" here has tabindex="0" which shouldn't be the case.

jelbourn avatar Jun 11 '20 21:06 jelbourn

We've got a PR for this already https://github.com/angular/components/pull/16809. Also closing as a duplicate of https://github.com/angular/components/issues/16692.

crisbeto avatar Jun 12 '20 15:06 crisbeto

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.