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

fix(list): add hover and focus indication in high contrast mode #14637

Merged
merged 1 commit into from
Jan 4, 2019

Conversation

crisbeto
Copy link
Member

Fixes not being able to see which lists/list items are focused or hovered in high contrast mode.

@crisbeto crisbeto added Accessibility This issue is related to accessibility (a11y) target: patch This PR is targeted for the next patch release labels Dec 25, 2018
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Dec 25, 2018
@@ -2,6 +2,7 @@
@import '../core/style/list-common';
@import '../core/style/layout-common';
@import '../divider/divider-offset';
@import '../../cdk/a11y/a11y';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add the a11y dependency to the bazel build file?

It currently just depends on the a11y sass_library transitively being available in the Bazel deps

sass_binary(
  name = "list_scss",
  src = "list.scss",
  deps = [
    "//src/cdk/a11y:a11y_scss_lib",  # <---
    "//src/lib/core:core_scss_lib",
    "//src/lib/divider:divider_scss_lib"
  ],
)

I already walked through all build files and enforced this manually, but there is no real enforcement check yet.

Copy link
Member

@devversion devversion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just one minor nit

Fixes not being able to see which lists/list items are focused or hovered in high contrast mode.
@crisbeto crisbeto force-pushed the list-high-contrast-indication branch from b4c56fa to 8cb8ed8 Compare December 26, 2018 07:06
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Dec 26, 2018
@mmalerba mmalerba merged commit 3c71348 into angular:master Jan 4, 2019
josephperrott pushed a commit to josephperrott/components that referenced this pull request Jan 14, 2019
…lar#14637)

Fixes not being able to see which lists/list items are focused or hovered in high contrast mode.
@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 Sep 10, 2019
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) action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants