Skip to content

Uif/cl 619/hide icons by default #14295

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

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

Conversation

BryanCunningham
Copy link
Contributor

@BryanCunningham BryanCunningham commented Apr 15, 2025

🎟️ Tracking

https://bitwarden.atlassian.net/browse/CL-619

📔 Objective

Icons are generally decorative. Want to ensure they are hidden from screen readers unless we explicitly want them to be read.

  • Adds aria-hidden="true" to icons by default
  • Automatically adds aria-hidden="false" when ariaLabel is provided

📸 Screenshots

⏰ 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

Copy link

codecov bot commented Apr 15, 2025

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 36.16%. Comparing base (6bd3fce) to head (1873f91).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...wrapper/extension-anon-layout-wrapper.component.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14295      +/-   ##
==========================================
- Coverage   36.89%   36.16%   -0.73%     
==========================================
  Files        3213     3200      -13     
  Lines       92669    91416    -1253     
  Branches    16635    16368     -267     
==========================================
- Hits        34186    33063    -1123     
+ Misses      56060    55996      -64     
+ Partials     2423     2357      -66     

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

github-actions bot commented Apr 15, 2025

Logo
Checkmarx One – Scan Summary & Details1fc4e7d1-7752-4cce-9345-e8ae724db448

Fixed Issues (1)

Great job! The following issues were fixed in this Pull Request

Severity Issue Source File / Package
LOW Angular_Usage_of_Unsafe_DOM_Sanitizer /libs/components/src/icon/icon.component.ts: 21

@BryanCunningham BryanCunningham force-pushed the uif/cl-619/hide-icons-by-default branch from 5af3f6d to 2fb7a08 Compare April 15, 2025 19:13
r-tome
r-tome previously approved these changes Apr 16, 2025
@BryanCunningham BryanCunningham force-pushed the uif/cl-619/hide-icons-by-default branch from 86a6435 to 1908a7f Compare April 16, 2025 16:02
@BryanCunningham BryanCunningham force-pushed the uif/cl-619/hide-icons-by-default branch from 1908a7f to f84aa92 Compare April 16, 2025 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants