W3C home > Mailing lists > Public > public-cognitive-a11y-tf@w3.org > August 2015

Re: Adding context to the aria-function attribute

From: lisa.seeman <lisa.seeman@zoho.com>
Date: Mon, 31 Aug 2015 23:31:47 +0300
To: Jamie Knight <Jamie.Knight@bbc.co.uk>
Cc: "Ayelet Seeman" <ayelet.projects1@gmail.com>, "public-cognitive-a11y-tf" <public-cognitive-a11y-tf@w3.org>
Message-Id: <14f85738c17.11f1e1d03756874.6503813531939283476@zoho.com>
Hi

I have a modified proposal


we have four attributes that relate to the context (In place of aria-function)


 Aria-action - that identifies the action of a button (when it is beyond submit - such as a next action)
Aria-destination - the destination of a link such as the contact us page
Aria-field - the context  of a form control such as the users address
Aria-region - the context  of page or region of a page such as a contact us form 

 

>From a personlisation perspective each attribute might need to be treated differently. For example a contact us region may come with help to fill in a form, and a contact us link may come with a tool tip that seas "contact up page".
 But if we overload the attribute by just having one or two attributes then the user agent will not know how to handle them. We can not assume all links are using a link element or the correct link role. Sometimes they are a scripted span or a table cell with an embeded link - there are just too many ways for the author to get it wrong
 

---- On Wed, 26 Aug 2015 19:01:07 +0300 Jamie Knight&lt;Jamie.Knight@bbc.co.uk&gt; wrote ---- 

Hello, 
 
I support option 2 over option 1 as it is easier for authors. 
 
Jamie + Lion 
 
Sent from my iPhone 
 
&gt; On 26 Aug 2015, at 16:39, Ayelet Seeman &lt;ayelet.projects1@gmail.com&gt; wrote: 
&gt; 
&gt; 2. Have the personalisation triggered only under the contexts we want to, by using tag names and roles. 
&gt; For example the aria-function="contact us" will trigger if in a link or if the role is either a link or navigation. 
 
Received on Monday, 31 August 2015 20:32:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 31 August 2015 20:32:14 UTC