[Bug 26870] clarify relationship with title attribute

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26870

--- Comment #2 from Liam R E Quin <liam@w3.org> ---
The trouble with telling people what not to do is it can leave them confused
about what _do_ do.

In
[[
The title attribute must not be used to provide a text alternative for an
image. The title attribute must not be used to provide a caption for an image;
use the figure and figcaption elements to provide a caption, as described
above.
]]

how about,

[[
Do not use the title attribute to provide a text alternative for an image;
always use the alt attribute for that purpose. The content of title attributes
is not always made available to users in an accessible way, and is not used
automatically when an image is not available.

The title attribute is also not suitable for providing a caption, image or
detailed description of an image. The figure and figcaption elements and the
longdesc attribute are provided for that purpose.
]]

I think this is less about changing the advice (nor am I doubting the expertise
of the people involved) than about changing the way the advice is given
slightly, to help people coming to the topic for the first time or who forgot
to read the HTML 5 specification in full that day :-)

The current text does talk about title, but doesn't make clear its relationship
to alt (or I didn't find it clear, at least).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 15 October 2014 18:09:00 UTC