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(Notification): remove tabindex on close buttons #17852

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Oct 23, 2024

Closes #15907

this PR updates the notification components so that the buttons to dismiss the notifications are accessible via keyboard

Changelog

Changed

  • test snapshots

Removed

  • notification close buttons

Testing / Reviewing

view the notification stories and confirm that the close buttons are accessible via keyboard

@emyarod emyarod requested a review from a team as a code owner October 23, 2024 14:51
Copy link

netlify bot commented Oct 23, 2024

Deploy Preview for v11-carbon-web-components ready!

Name Link
🔨 Latest commit d380f4d
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-web-components/deploys/671a81f68f300f0008ed3743
😎 Deploy Preview https://deploy-preview-17852--v11-carbon-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Oct 23, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit d380f4d
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/671a81f6dbf1160008b66480
😎 Deploy Preview https://deploy-preview-17852--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Oct 23, 2024

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit d380f4d
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/671a81f6a1de5c0008aa8b2d
😎 Deploy Preview https://deploy-preview-17852--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.19%. Comparing base (3141442) to head (d380f4d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #17852   +/-   ##
=======================================
  Coverage   80.19%   80.19%           
=======================================
  Files         406      406           
  Lines       14040    14040           
  Branches     4347     4347           
=======================================
  Hits        11260    11260           
  Misses       2614     2614           
  Partials      166      166           

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

@alisonjoseph
Copy link
Member

looks like some tests are failing?

@emyarod emyarod force-pushed the 15907-fix/remove-notification-close-button-tabindex branch from 540691d to 23d538f Compare October 23, 2024 19:33
@emyarod emyarod force-pushed the 15907-fix/remove-notification-close-button-tabindex branch from 23d538f to c3bfceb Compare October 24, 2024 15:57
@ariellalgilmore ariellalgilmore added this pull request to the merge queue Oct 24, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 24, 2024
@ariellalgilmore ariellalgilmore added this pull request to the merge queue Oct 25, 2024
Merged via the queue into carbon-design-system:main with commit 0810fa1 Oct 25, 2024
40 checks passed
@emyarod emyarod deleted the 15907-fix/remove-notification-close-button-tabindex branch October 25, 2024 15:49
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.

[a11y]: inline and toast notifications does not take keyboard focus
3 participants