[Webkit-unassigned] [Bug 25524] [Gtk] Expose the title attribute to assistive technologies

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 23 02:02:15 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25524





--- Comment #16 from Mario Sanchez Prada <msanchez at igalia.com>  2009-07-23 02:02:13 PDT ---
(In reply to comment #15)
> There are occasions in which FF does some things which make it harder -- not
> better -- for assistive technologies. IMHO, the way in which they handle 
> images which have both alternative text and a title attribute would be one 
> of those times.
> 
> If the spec is not clear, perhaps it would make sense for all interested
> parties to participate in the writing and/or clarification of the spec needed
> for implementation.

After reading the section "4.2.7 Accesible Name Calculation" at
http://www.w3.org/TR/wai-aria/#nameref, it's my understanding that title should
be used only as the last resort when trying to set up the accessible name for a
given content:

   A. Elements may specify their text equivalent in DOM attributes, used in 
     this order of preference:
          * [...]
          * [...]
          * Any non-tooltip native markup (such as an img element's alt 
     attribute in HTML), or the subtree for a label pointing to this element 
     (such as label element's for attribute in HTML) contributes according to 
     rules defined by the appropriate specification for that markup.

   B. [...]
   C. [...]
   D. The last resort is to use text from tooltip markup (such as the title 
      attribute in HTML). This is used only if nothing else, including subtree 
      content, has provided results.


However, perhaps I'm missing something here so I dare not to give an strong
opinion here :-), but with this information I suppose a good option would be to
go ahead with the proposal of:

  * Use 'alt' value for accesible name if apropriate and if it exists. If it
does not exist, fallback to 'title' for the accessible name, if present.

  * If the accesible name is already set without using 'title', use this one
for the accesible description in case there's not a better candidate for that
(aria-label, aria-description).

What do you think? Does this make any sense to you? In case it does, I guess
the next thing to do would be, as Jan pointed out, to send a mail to webkit-dev
talking about this issue.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list