WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: image with alt as H1 content?


From: Jared Smith
Date: Nov 14, 2011 10:57PM

On Mon, Nov 14, 2011 at 10:08 PM, Maraikayar Prem Nawaz
< <EMAIL REMOVED> > wrote:
> Hi,
> Fae rule set says
> Each h1 element should have text content exclusive of the alt text of any
> img elements it contains.

I'm not sure what the FAE tool is suggesting here, but this doesn't
make any sense to me. There's nothing wrong with images presenting
content whether within or outside a heading. You can ignore FAE here
as this certainly doesn't have an impact on accessibility that I'm
aware of. FAE also requires that the h1 be the same as the page title
- something that is clearly not a real accessibility issue.

> Also wouldn't it be problematic for the outline logic by some screen
> readers, where it would show the list of headings
> For e.g. Jaws  would announce "Home page Heading level 1 graphic"

So long as the image has equivalent alternative text, I see no issue.
JAWS may identify the presence of the image within the heading, but
this would be no different than it identifying the presence of an
image anywhere else on the page.