mdn / content

The content behind MDN Web Docs
https://developer.mozilla.org
Other
9.12k stars 22.45k forks source link

Deprecating ARIA `img` role in favor of `image` #28170

Open bsmth opened 1 year ago

bsmth commented 1 year ago

MDN URL

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/img_role

What specific section or headline is this issue about?

No response

What information was incorrect, unhelpful, or incomplete?

img role is being sunset in favor of image, e.g.

<!-- preferred -->

<div role="image" aria-label="Table flip">
  <p>(╯°□°)╯︵ ┻━┻</p>
</div>

<!-- instead of -->

<div role="img" aria-label="Table flip">
  <p>(╯°□°)╯︵ ┻━┻</p>
</div>

What did you expect to see?

The page should be renamed & redirected to image to reflect ARIA 1.3.

This has landed in

Do you have any supporting links, references, or citations?

Do you have anything more you want to share?

No response

CBID2 commented 1 year ago

Hey @bsmth. Can I be assigned to this issue? :)

bsmth commented 1 year ago

Hi @CBID2 - thanks for checking. I need to verify what timeline we're looking at making these changes (whether we want to do this now or wait for spec changes) - it's worth holding off on working on this one right now, but if you're looking for some other tasks, I can recommend the contributor task board for some issues that need attention. I hope that helps :)

CBID2 commented 1 year ago

Hi @CBID2 - thanks for checking. I need to verify what timeline we're looking at making these changes (whether we want to do this now or wait for spec changes) - it's worth holding off on working on this one right now, but if you're looking for some other tasks, I can recommend the contributor task board for some issues that need attention. I hope that helps :)

Ok thanks