Skip to content

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

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

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

Conversation

@orangecms

Copy link
Copy Markdown

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

chalin commented Feb 13, 2026

Copy link
Copy Markdown
Collaborator

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
@chalin chalin modified the milestones: 0.15.0, 0.16.0 Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants