Questions about Asides

  • This topic has 8 replies, 3 voices, and was last updated 2 months, 3 weeks ago by jhswift.
Viewing 4 posts - 5 through 8 (of 9 total)
Questions about Asides thread
Author Posts
b.keith

The function of the aside is to mark out non-linear material. It occurs to me that in your case the quotes might not be non-linear (i.e they should be read in order with the text). In that case the right solution is to use a blockquote and negate the whole issue of aria labels…

APLN Moderator

I believe there is no need for aria-labels in the asides in this case, just the adding the role should remove the error.

For example:

<div class=”_idGenObjectLayout-2″>
<aside role=”doc-pullquote” id=”_idContainer013″ class=”sidenote_aside”>
<p class=”sidenote”>Your quotation here.</p>
</aside>
</div>

Feel free to try b.keith’s solution if this doesn’t work!

More info why all roles don’t require an accessible name in asides: https://kb.daisy.org/publishing/docs/html/asides.html#faq-005

jhswift

Many thanks, @b.keith for the two replies. The quotes are non-linear, they are not tied to a specific point in the text, but more to the general context.  So a sidebar taged with <aside> seems the appropriate thing to use.

Thanks also for the suggestion to use a grep search. That will help.

Jim

 

 

b.keith

Well I just tried the role=”doc-pullquote” method and lo and behold it passes ACE without labels. Learn something new every day 🙂 I don’t usually do non-linear quotes I’ve never run into that.

Viewing 4 posts - 5 through 8 (of 9 total)
  • You must be logged in to reply to this topic.

Want to join the discussion?

a wooden table with a white keyboard on top, and a persons hand writing on a piece of paper

View our current resources