WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Using icon+alt text as lbl ( in PDF list)

for

From: Philip Kiff
Date: May 6, 2020 7:33AM


Yes, I think it is appropriate in some cases to use an icon as a Label
(Lbl) for list items in a PDF tag tree. The List structure in PDFs I
think allows for such use of L (List) elements. And if an Lbl is not
text, then there is no reason it cannot be an image. As far as I know,
both NVDA and Jaws will read alternative text applied to Lbl tags in
place of whatever content is inside the Label.

It is not entirely clear to me whether one should ALSO wrap such icons
inside a Figure tag and then nest the Figure inside the Lbl (Label) tag.
I have run into problems sometimes with Figures inside Labels, so I
would be inclined to use ONLY the Lbl tag and NOT include a nested
Figure tag as well.

Note that I cannot speak as any kind of "authority" on questions of
appropriate vs inappropriate use of tags in PDFs. However, as is perhaps
evident by my previous posts, in the absence of other responses, I am
usually comfortable passing on my current opinions to the list!

Phil.

Philip Kiff
D4K Communications

On 2020-05-04 19:16, Alan Zaitchik wrote:
> Is it inappropriate to use an icon+alt text as a <lbl> in a <list> structure? Will the major screen readers (jaws, nvda, voiceover) read the alt text as the label for each list item?
> The icons (with their alt texts) are the only on-screen elements that will truly and intuitively serve as labels in the PDF in question.
> Thanks,
> Alan