Replies: 1 comment
-
Hello, I don’t have a strong opinion on this, and I believe it is mainly related to @gouvernementFR/dsfr, since we only implement their specifications in React. As far as I can see, there used to be a role before: GouvernementFR/dsfr#182. I closed the issue because this decision is not up to react-dsfr. If the DSFR team changes their approach, feel free to open a PR here to add the role or to reopen the discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
The default HTML with
Alert
is:I think when severity is
error
a role should be set on for accessibility, likerole="alert"
. Also for other severities maybe it could berole="status"
. Since I'm not sure for the latter, maybe the component could allow specifying the role.What do you think?
Beta Was this translation helpful? Give feedback.
All reactions