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

feat(message): remove role of status - FE-5891 #6362

Merged
merged 3 commits into from
Nov 2, 2023

Conversation

DipperTheDan
Copy link
Contributor

@DipperTheDan DipperTheDan commented Oct 11, 2023

role of status has been removed from this component as Message should not be a live region. If you
require a screenreader to read out the Message component, please focus it by using a ref instead.

fixes #6013

Proposed behaviour

  • Remove role of status from component.
  • Update Designer Notes section in component docs to reflect new variants.

Current behaviour

  • Component currently has role of status.
  • Designer Notes section in component docs does not include new variants.

Checklist

  • Commits follow our style guide
  • Related issues linked in commit messages if required
  • Screenshots are included in the PR if useful
  • All themes are supported if required
  • Unit tests added or updated if required
  • Cypress automation tests added or updated if required
  • Playwright automation tests added or updated if required
  • Storybook added or updated if required
  • Translations added or updated (including creating or amending translation keys table in storybook) if required
  • Typescript d.ts file added or updated if required
  • Related docs have been updated if required

QA

  • Tested in CodeSandbox/storybook
  • Add new Cypress test coverage if required
  • Carbon implementation matches Design System/designs
  • UI Tests GitHub check reviewed if required

Additional context

N/A

Testing instructions

Ensure that With Focus example of Message is read out correctly when opened on:
Mac

  • VoiceOver -> Safari

Windows

  • NVDA -> Chrome
  • NVDA -> Firefox
  • NVDA -> Edge

Please test using JAWS 2023.2306.38 - June 2023 release or higher

  • JAWS -> Chrome
  • JAWS -> Firefox
  • JAWS -> Edge

role of status has been removed this component as Message should not be a live region. If you
require a screenreader to read out the Message component, please focus it by using a ref instead.

fixes #6013
@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 11, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 239c253:

Sandbox Source
carbon-quickstart Configuration
carbon-quickstart-typescript Configuration
message-aria-live-demo Issue #6013

@DipperTheDan DipperTheDan marked this pull request as ready for review October 12, 2023 10:09
@DipperTheDan DipperTheDan requested a review from a team as a code owner October 12, 2023 10:09
@DipperTheDan
Copy link
Contributor Author

PR is currently on hold as QA cannot install an appropriate trial version of JAWS on which to test the fix, as the VM they have set up is a 32-bit machine and the 2023 versions of JAWS require a 64-bit machine.

@DipperTheDan DipperTheDan merged commit 06e8928 into master Nov 2, 2023
21 checks passed
@DipperTheDan DipperTheDan deleted the FE-5891_remove-role-from-message branch November 2, 2023 16:29
@carbonci
Copy link
Collaborator

carbonci commented Nov 2, 2023

🎉 This PR is included in version 123.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Message - Inconsistent screen reader behaviour
6 participants