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

[CL-475] Use buttons instead of anchors for popup tab navigation #11643

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vleague2
Copy link
Contributor

@vleague2 vleague2 commented Oct 21, 2024

๐ŸŽŸ๏ธ Tracking

CL-475

๐Ÿ“” Objective

This PR switches the popup tab navigation from anchors to buttons for improved visual accessibility (i.e. no link preview displayed when hovering). We are setting the role="link" to indicate to assistive technology that these do navigate to a new page. This PR also wraps the navigation options in a nav element and list elements, which was missed when the component was originally created. This improves accessibility for assistive technologies. This PR does not adjust the keyboard navigation for the nav menu.

๐Ÿ“ธ Screenshots

Screen.Recording.2024-10-21.at.3.26.40.PM.mov

โฐ 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 Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests โœ…

Project coverage is 33.26%. Comparing base (d298ac6) to head (489f53c).
Report is 6 commits behind head on main.

โœ… All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11643      +/-   ##
==========================================
+ Coverage   33.24%   33.26%   +0.01%     
==========================================
  Files        2787     2789       +2     
  Lines       86666    86668       +2     
  Branches    16513    16506       -7     
==========================================
+ Hits        28813    28826      +13     
+ Misses      55558    55547      -11     
  Partials     2295     2295              

โ˜” View full report in Codecov by Sentry.
๐Ÿ“ข Have feedback on the report? Share it here.

Copy link
Contributor

Logo
Checkmarx One โ€“ Scan Summary & Details โ€“ c481dcc3-1a43-4be1-a2de-b915c6d9626f

No New Or Fixed Issues Found

@vleague2 vleague2 marked this pull request as ready for review October 21, 2024 19:30
@vleague2 vleague2 requested a review from a team as a code owner October 21, 2024 19:30
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.

1 participant