Merge branch 'main' into nl/1300-domain-request-button-tag-correction

This commit is contained in:
CuriousX 2025-03-04 10:45:09 -07:00 committed by GitHub
commit a5c61a5115
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5284,7 +5284,10 @@ const setUpModal = baseComponent => {
overlayDiv.classList.add(OVERLAY_CLASSNAME);
// Set attributes
modalWrapper.setAttribute("role", "dialog");
// DOTGOV
// Removes the dialog role as this causes a double readout bug with screenreaders
// modalWrapper.setAttribute("role", "dialog");
// END DOTGOV
modalWrapper.setAttribute("id", modalID);
if (ariaLabelledBy) {
modalWrapper.setAttribute("aria-labelledby", ariaLabelledBy);