You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/js/classes/ImageBlock.js
+1
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ class ImageBlock extends AbstractDomElement {
15
15
constel=this._element
16
16
constfigure=el.closest('.wp-block-image')
17
17
18
+
// Add role="figure" and aria-label with the figure text to comply with RGAA criteria 1.9.1 : https://accessibilite.numerique.gouv.fr/methode/criteres-et-tests/#1.9
0 commit comments