@hans2103 introduced code with #29886 which correctly adds aria values to the module if it is using a landmark. However it also adds the value if it is a div and it has no effect here at all as assistive tech can not see it
Summary
If you use aria-label, aria-labelledby, or aria-describedby with any other elements (like div, span, p, blockquote, or strong etc.), they generally won’t work across all browser/assistive technology combinations.
Confirmed that this is still valid advice with the author https://twitter.com/LeonieWatson/status/1335905663113900033
Labels |
Added:
?
|
Category | ⇒ | Accessibility |
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-01-03 00:33:30 |
Closed_By | ⇒ | brianteeman | |
Labels |
Added:
?
Removed: ? |
Closed as we have two pr to resolve this