Skip to content

Commit cce5a98

Browse files
committed
Clarify Alert ARIA documentation
1 parent 5f4e9d4 commit cce5a98

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • extensions/ql-vscode/src/view/common

extensions/ql-vscode/src/view/common/Alert.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ type Props = {
9292
* important enough to require the user's immediate attention.
9393
*
9494
* Can be left out if the alert is not important enough to require the user's
95-
* immediate attention.
95+
* immediate attention. In this case, no ARIA role will be set and the alert
96+
* will be read as normal text. The user will not be notified about any changes
97+
* to the alert.
9698
*/
9799
role?: "alert" | "status";
98100
};

0 commit comments

Comments
 (0)