Skip to content

layouts: use 'note' role instead of 'alert'#2553

Open
orangecms wants to merge 1 commit intogoogle:mainfrom
orangecms:a11y-role-fix
Open

layouts: use 'note' role instead of 'alert'#2553
orangecms wants to merge 1 commit intogoogle:mainfrom
orangecms:a11y-role-fix

Conversation

@orangecms
Copy link

The 'alert' role is meant for feedback deserving immediate attention, such as an incoming message.
The 'note' role, on the other hand, is meant for content that has no suitable semantic element otherwise and is supposed to hint the user on ancillary information.

See:

same as kubernetes/website#54363

The 'alert' role is meant for feedback deserving immediate attention,
such as an incoming message.
The 'note' role, on the other hand, is meant for content that has no
suitable semantic element otherwise and is supposed to hint the user
on ancillary information.

See:
- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/alert_role
- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/note_role

Signed-off-by: Daniel Maslowski <info@orangecms.org>
@chalin
Copy link
Collaborator

chalin commented Feb 13, 2026

The 'alert' role is meant for feedback deserving immediate attention, such as an incoming message. The 'note' role, on the other hand, is meant for content that has no suitable semantic element otherwise and is supposed to hint the user on ancillary information.

See:

same as kubernetes/website#54363

Hi @orangecms 👋🏻 Thanks for point this out! Let me create an issue to track this. I feel that we need a more nuanced solution that what is proposed here.

@chalin chalin added this to the 0.15.0 milestone Feb 13, 2026
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