mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
docs(a11y): remove role 'alert' from availability notice.
According to [MDN's article on the `alert` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Alert_Role), `alert` should only be used for "information that requires the user's immediate attention", such as the user's login session being about to expire or the connection to the server being lost so that local changes will not be saved. They also add that: > Warning: Because of its intrusive nature, the alert role must be used sparingly and only in situations where the user's immediate attention is required. While availability may be an important (or at least relevant) piece of information, I do not think it classifies as urgent or requiring immediate attention.
This commit is contained in:
parent
36af8db8bb
commit
73ee4c9250
@ -3,7 +3,7 @@ id: environments
|
||||
title: Environments
|
||||
---
|
||||
|
||||
<div class="alert alert--info" role="alert">
|
||||
<div class="alert alert--info">
|
||||
<em>Environments</em> are available in <i>Unleash v4.3.x</i> and later. They can also be enabled from <i>Unleash v4.2.x</i> with a feature toggle.
|
||||
</div>
|
||||
<br />
|
||||
|
Loading…
Reference in New Issue
Block a user