[wp-trac] [WordPress Trac] #28861: No easy way to get alt text of custom header image
WordPress Trac
noreply at wordpress.org
Wed Oct 15 18:51:55 UTC 2014
#28861: No easy way to get alt text of custom header image
--------------------------+------------------------------
Reporter: henry.wright | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 3.4
Severity: normal | Resolution: duplicate
Keywords: | Focuses: accessibility
--------------------------+------------------------------
Comment (by sharonaustin):
Strongly agree that adding an alt="" is a bad idea; my understanding is
that with some screen readers, focus is lost if the alt atribute is empty.
"If" people are relying on it to navigate home, then that is a problem.
What I don't know: If the header is wrapped in an <a> element, does the
link function over-ride, or get over-ridden, by the the empty alt
attribute?
For more background, see this:
".... The reason to use an empty ‘alt’ attribute is that this is a signal
to the screen reader to skip over the image. When a screen reader comes
across an image with an empty ‘alt’ attribute, it ignores the image: it’s
as if the image was never there in the first place.."
http://www.userfocus.co.uk/articles/alt_text.html
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28861#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list