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

Change the accessible role of info boxes to note #2022

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

zecakeh
Copy link
Contributor

@zecakeh zecakeh commented Nov 30, 2024

The alert role is intrusive and should only be used when the user's immediate attention is required.

Given that these boxes expand on the paragraph where they are included, the note role seems more appropriate.

Pull Request Checklist

Preview: https://pr2022--matrix-spec-previews.netlify.app

The `alert` role is intrusive and should only be used when the user's immediate attention is required.

Given that this boxes only provide additional content to the current paragraph,
the `note` role seems more appropriate.

Signed-off-by: Kévin Commaille <[email protected]>
@zecakeh zecakeh requested a review from a team as a code owner November 30, 2024 10:51
Signed-off-by: Kévin Commaille <[email protected]>
@richvdh richvdh merged commit f819403 into matrix-org:main Dec 10, 2024
12 checks passed
@zecakeh zecakeh deleted the note-role branch December 10, 2024 23:36
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.

2 participants