W3C home > Mailing lists > Public > public-pfwg@w3.org > February 2014

Re: ISSUE-406: Proposal for new aria-tooltip property. (Previously proposed as @aria-help)

From: James Craig <jcraig@apple.com>
Date: Tue, 18 Feb 2014 10:41:07 -0800
Cc: W3C WAI Protocols & Formats <public-pfwg@w3.org>, Cynthia Shelly <cyns@microsoft.com>
Message-id: <5A6BA364-C1E4-48B1-A773-C8B2B1B56361@apple.com>
To: "Gunderson, Jon R" <jongund@illinois.edu>
On Feb 18, 2014, at 8:27 AM, Gunderson, Jon R <jongund@illinois.edu> wrote:

> James,
>  
> What is the computational relationship between aria-tooltip/aria-help and aria-describedby for accessibility APIs, what trumps what? Is aria-tooltip/aria-help envisioned to have a complementary relationship with aria-describedby (e.g. aria-label and aria-labelledby)?

The only overlap would be if aria-describedby was used to point to an element with the tooltip role, which is the currently supported wonky pattern mentioned in the call yesterday. The trump is described in #3 below.

To clarify the mention of both @aria-help and @aria-tooltip, I previously proposed this as @aria-help, but people were more receptive to the name @aria-tooltip, so I updated the proposal. My previous email may have been confusing because I missed a couple references to the old @aria-help attribute name. I think Iíve corrected them all below now.

James


> Jon
>  
>  
> From: James Craig [mailto:jcraig@apple.com] 
> Sent: Monday, February 17, 2014 4:50 PM
> To: W3C WAI Protocols & Formats; Cynthia Shelly
> Subject: ISSUE-406: Proposal for new aria-tooltip property. (Previously proposed as @aria-help)
>  
> From the discussion on this morningís call regarding @aria-tooltip. 
>  
> 
> aria-tooltip (property)
> 
> Defines a string value that provides complementary tooltip or help text information for the current element. Also see aria-label.
> 
> The purpose of aria-tooltip is to provide additional information that complements the label text. For example, if the visible label of a tab is "General", the value of aria-tooltip may be, "Displays general preferences for the application, such as home page, history, and download preferences." 
>  
> Authors SHOULD NOT provide a value for aria-tooltip that duplicates information already provided as all or part of the element's accessible name (label). Authors SHOULD NOT provide a value for @aria-tooltip if that information is already provided using the host languageís tooltip attribute, such as @title in HTML.
> 
> 
> Tooltip/Help Computation 
> 
> 1. If the element has a non-empty "aria-tooltip" attribute, user agents will expose the value of that attribute as the Tooltip/Help value in the accessibility API.
> 2. If the element has an explicitly empty "aria-tooltip" attribute, (aria-tooltip=""), user agents will expose no Tooltip/Help value in the accessibility API. 
> 3. If the element has no "aria-tooltip" attribute, but the "aria-describedby" attribute references a single element whose role is "tooltip", user agents must calculate the description using the text alternative algorithm and expose that string as the Tooltip/Help value in the accessibility API. 
> 4. Otherwise, if there is no ARIA-based tooltip, and the element includes the generic tooltip attribute (such as @title in HTML), and if the tooltip attribute has NOT been used in the name computation for the element, user agents MUST expose the value of the tooltip attribute (e.g. @title in HTML) as the Tooltip/Help value in the accessibility API.
> 
> 
> Related Concepts
> 
> Help Tag (Apple Human Interface Guidelines)
> http://developer.apple.com/mac/library/documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGUsingTechnologies/XHIGUsingTechnologies.html#//apple_ref/doc/uid/TP30000355-TPXREF9
> 
> AXHelp (Apple AX API)
> http://developer.apple.com/mac/library/documentation/Accessibility/Reference/AccessibilityLowlevel/AXAttributeConstants_h/CompositePage.html#//apple_ref/c/macro/kAXHelpAttribute
> 
> Cynthia, please provide a link to the UIA tooltip pattern you mentioned. Iíll add it.
> 
Received on Tuesday, 18 February 2014 18:41:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:45:00 UTC