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

Message component focus not working after closing a dialog #7130

Closed
1 task done
Sandra-Michalska-sage opened this issue Dec 16, 2024 · 2 comments
Closed
1 task done
Labels
Enhancement triage Triage Required

Comments

@Sandra-Michalska-sage
Copy link

Sandra-Michalska-sage commented Dec 16, 2024

Description

Message has no focus styling when it is programatically focused

Reproduction

https://stackblitz.com/edit/parsium-carbon-starter-cbcqe7hj

Steps to reproduce

Open the dialog -> Close the dialog -> Then the message should get focus but it doesn't.

JIRA ticket numbers (Sage only)

SBS-115818

Suggested solution

Bring back the Message component outline on focus?

Carbon version

144.20.0

Design tokens version

4.34.0

Relevant browsers

Chrome

Relevant OSs

Windows

Additional context

No response

Confidentiality

  • I confirm there is no confidential or commercially sensitive information included.
@hrrcox
Copy link

hrrcox commented Jan 6, 2025

Message focus will be handled in the same way as modals and main content. This means we should not add a visible focus indicator to the message, and first 'tab' will take users to the first focusable element within the message.

@tomdavies73
Copy link
Contributor

We have determined that this enhancement is not aligned with current accessibility standards, and it will be closed. Please get back in touch if you have any other questions or queries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement triage Triage Required
Development

No branches or pull requests

4 participants