Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(mat-expansion-panel): In high contrast mode, keyboard focus not visible around panel #21544

Closed
dwaynelavon opened this issue Jan 11, 2021 · 1 comment · Fixed by #21549
Closed
Assignees
Labels
Accessibility This issue is related to accessibility (a11y) area: material/expansion P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@dwaynelavon
Copy link

Reproduction

Stackblitz: https://stackblitz.com/angular/drrqqddrvej?file=src%2Fapp%2Fexpansion-overview-example.ts

Expected Behavior

What behavior were you expecting to see?

  1. Enable Windows high contrast mode in settings
  2. Open Firefox
  3. Create a mat-expansion-panel (Stackblitz above)
  4. Use keyboard to tab to the expansion panel and observe focus indicator

Actual Behavior

What behavior did you actually see?
Keyboard focus indicator is not visible around expansion panel

Environment

  • Angular: 11.0.3
  • CDK/Material: 11.0.3
  • Browser(s): Firefox
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows
@dwaynelavon dwaynelavon added the needs triage This issue needs to be triaged by the team label Jan 11, 2021
@crisbeto crisbeto self-assigned this Jan 12, 2021
@crisbeto crisbeto added Accessibility This issue is related to accessibility (a11y) area: material/expansion has pr P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent and removed needs triage This issue needs to be triaged by the team labels Jan 12, 2021
crisbeto added a commit to crisbeto/material2 that referenced this issue Jan 12, 2021
The expansion panel header changes its background color when it receives focus which isn't
visible in high contrast mode. These changes add an outline around it which is more visible.

Fixes angular#21544.
wagnermaciel pushed a commit that referenced this issue Feb 2, 2021
…21549)

The expansion panel header changes its background color when it receives focus which isn't
visible in high contrast mode. These changes add an outline around it which is more visible.

Fixes #21544.
wagnermaciel pushed a commit that referenced this issue Feb 2, 2021
…21549)

The expansion panel header changes its background color when it receives focus which isn't
visible in high contrast mode. These changes add an outline around it which is more visible.

Fixes #21544.

(cherry picked from commit d3deb8b)
wagnermaciel pushed a commit to wagnermaciel/components that referenced this issue Feb 8, 2021
…ngular#21549)

The expansion panel header changes its background color when it receives focus which isn't
visible in high contrast mode. These changes add an outline around it which is more visible.

Fixes angular#21544.
wagnermaciel pushed a commit to wagnermaciel/components that referenced this issue Feb 8, 2021
…ngular#21549)

The expansion panel header changes its background color when it receives focus which isn't
visible in high contrast mode. These changes add an outline around it which is more visible.

Fixes angular#21544.
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Mar 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Accessibility This issue is related to accessibility (a11y) area: material/expansion P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants