Skip to content

Accessibility: Expansion-panel header is not marked as focused when tabbing.  #14569

@ehsantoucerkany

Description

@ehsantoucerkany

What is the expected behavior?

When tabbing in an expanded expansion panel, the mat-expansion-panel-header should be shaded/highlighted to indicate the focused element.

What is the current behavior?

There is no way for the user to distinguish focus on the header, when tabbing to the header to collapse the already expanded item.

What are the steps to reproduce?

See the "Basic expansion panel example":
https://material.angular.io/components/expansion/overview

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

n/a - All versions on material.angular.io are affected: https://material.angular.io/components/expansion/overview

Is there anything else we should know?

The correct behaviour can be observed here: https://material-ui.com/demos/expansion-panels/

material-ui.com:
material-ui com

material.angular.io:
material angular io

Metadata

Metadata

Assignees

Labels

AccessibilityThis issue is related to accessibility (a11y)P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentneeds: discussionFurther discussion with the team is needed before proceeding

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions