mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 19:20:47 +02:00
add role alert
This commit is contained in:
parent
dd79477157
commit
53abc155fb
1 changed files with 1 additions and 0 deletions
|
@ -482,6 +482,7 @@ export class NameserverForm {
|
|||
// Create a new alert div with appropriate classes based on alert level
|
||||
const alertDiv = document.createElement("div");
|
||||
alertDiv.className = `usa-alert usa-alert--${level} usa-alert--slim margin-bottom-2`;
|
||||
alertDiv.setAttribute("role", "alert"); // Add the role attribute
|
||||
|
||||
// Create the alert body to hold the message text
|
||||
const alertBody = document.createElement("div");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue