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

Add cdk-visually-hidden to tw-theme for Angular CDK LiveAnnouncer #13410

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Hinton
Copy link
Member

@Hinton Hinton commented Feb 14, 2025

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-17207

📔 Objective

Angular CKD LiveAnnouncer depends on some css logic to hide announcements from being displayed. We are currently missing this functionality as we don't import CDK styles globally.

Resolves #13260
Resolves #13471

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

@Hinton Hinton requested a review from a team as a code owner February 14, 2025 17:38
@Hinton Hinton requested a review from vleague2 February 14, 2025 17:38
Copy link

codecov bot commented Feb 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 35.29%. Comparing base (c6176ed) to head (c96666f).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13410      +/-   ##
==========================================
- Coverage   35.33%   35.29%   -0.04%     
==========================================
  Files        3130     3126       -4     
  Lines       92593    92597       +4     
  Branches    16810    16805       -5     
==========================================
- Hits        32719    32684      -35     
- Misses      57433    57473      +40     
+ Partials     2441     2440       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

github-actions bot commented Feb 14, 2025

Logo
Checkmarx One – Scan Summary & Detailsa1caf455-f630-49f1-b277-44ffde3c3bed

Great job, no security vulnerabilities found in this Pull Request

willmartian
willmartian previously approved these changes Feb 14, 2025
Copy link
Contributor

@willmartian willmartian left a comment

Choose a reason for hiding this comment

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

Did you find this documented somewhere? Does the CDK have a style sheet they expect us to import? Wondering if we might be missing any other styles.

edit: ah, found here https://material.angular.io/cdk/a11y/overview#hiding-elements-in-an-accessible-way

@Hinton Hinton requested a review from willmartian February 16, 2025 18:22
@Hinton
Copy link
Member Author

Hinton commented Feb 17, 2025

I changed to importing the CDK css. In case they ever update it.

@djsmith85
Copy link
Contributor

Possibly related #13471

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants