ISSUE-2163: role="contexthelp"

contextrole

role="contexthelp"

State:
CLOSED
Product:
SVG 1.2 Tiny: Last Call
Raised by:
Cameron McCormack
Opened on:
2008-10-24
Description:
http://lists.w3.org/Archives/Public/public-svg-wg/2008OctDec/0189.html

In the description of the @role attribute in the Structure chapter it
currently says:

Unlike the 'class' attribute, 'role' attribute values are intended to
be selected from a predefined set of values with specific semantic
aspects that are assigned to the element, such as those defined in the
ARIA ontology, XHTML Role Attribute Module, XHTML Vocabulary
collection, and in future SVG specifications.
— http://dev.w3.org/SVG/profiles/1.2T/publish/struct.html#RoleAttribute

It then goes on to describe a "contexthelp" role. It looks like this is
being defined by SVG Tiny 1.2. (I couldn’t find it in the ARIA ontology
or XHTML Vocabulary collection.) Is this the only role SVG Tiny 1.2
defines? Perhaps the quoted paragraph above should also mention that
the attribute is also intended to use role values defines in this
specification.

I’m not clear on why "contexthelp" is defined here rather than
recommending the use of ARIA’s "tooltip" role. Is there a distinction
that I’m missing?

How do you associate the context help element with the element that it
is the context help for? For example, with ARIA's "tooltip" you would
use an @aria-describedby attribute on the element that is being
described by the element with role="tooltip". There doesn’t seem to be
an equivalent attribute for use with "contexthelp". IIUC I think I’d
need to be able to do something like the following:

<svg …>
<g id='Window1' transform='…'>
…
<g id='Button1' describedby='ContextHelp'>
…
</g>
</g>
<g id='ContextHelp' transform='…' role='contexthelp'>
<rect width='200' height='20' rx='5' fill='yellow'/>
<image xlink:href='info-balloon.png'
x='5' width='20' height='20'/>
<text x='30' y='15' font-size='10'>
Click this button if you rock!
</text>
</g>
</svg>

I find it a little odd that the "contexthelp" role is defined here not
only to inform an AT of the association between an element and some
graphical content (or textual, if used on a descriptive element) that
forms a context help popup, but also to cause some particular visual
processing when used on descriptive elements. Are roles not meant
solely for authors to provide hints to ATs on how (in our case)
graphical content maps to structural UI concepts, such as widgets,
tooltips and so on? Should including a role really induce particular
behaviour in the SVG user agent too?

I admit I’m a bit of a chobo when it comes to ARIA and roles and so on,
so if I’m misunderstanding the whole thing please do set me straight.

Related Actions Items:
No related actions
Related emails:
  1. SVG/profiles/1.2T/master struct.html,1.240,1.241 (from cvsmail@w3.org on 2008-10-31)
  2. SVG/profiles/1.2T doc-svgt12.html,NONE,1.1 (from cvsmail@w3.org on 2008-10-28)
  3. Minutes, October 28, 2008 telcon (from ed@opera.com on 2008-10-28)
  4. Minutes, 24 Oct 2008 SVG f2f (from chris@w3.org on 2008-10-27)
  5. ISSUE-2163 (contextrole): role='contexthelp' [Last Call: SVG 1.2 Tiny ] (from sysbot+tracker@w3.org on 2008-10-24)

Related notes:

Agree, spec changed. Commenter satisfied: http://lists.w3.org/Archives/Public/public-svg-wg/2008OctDec/0332.html

Doug Schepers, 2 Nov 2008, 21:45:51

Display change log ATOM feed


Dirk Schulze <dschulze@adobe.com>, Chair, Chris Lilley <chris@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.325 2014-09-10 21:42:02 ted Exp $