NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 751 - [aria] Validator.nu doesn't see <figure role=img> as valid, despite lack of spec prohibition
[aria] Validator.nu doesn't see <figure role=img> as valid, despite lack of s...
Status: CLOSED FIXED
Product: Validator.nu
Classification: Unclassified
Component: ARIA
HEAD
All All
: P2 major
Assigned To: Nobody
http://www.w3.org/TR/wai-aria/roles#p...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-07 23:41 CEST by Leif Halvard Silli
Modified: 2013-04-20 20:38 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leif Halvard Silli 2010-06-07 23:41:05 CEST
ARIA has this example:

<div role="img" aria-labelledby="caption">
  <img src="example.png" role="presentation" alt="">
  <p id="caption">A visible text caption labeling the image.</p>
</div>

This can literally be transformed into a <figure>:

<figure role="img" aria-labelledby="caption">
  <img src="example.png" role="presentation" alt="">
  <figureCaptionElement id="caption">
   A visible text caption labeling the image.
  </figureCaptionElement>
</figure>

However, for some reason Validator.nu does not permit this, despite that HTML5 does *not* define socalled "strong native semantics" for <figure>
Comment 1 Michael[tm] Smith 2013-04-20 19:22:21 CEST
Fixed. Please try http://validator.w3.org/nu/