Re: [ACTION-1520][ISSUE-679] Proposed definition of "value" for form control content and aria attributes (updated)

Hi Jon,

> You would like something more like this
>
> Definition of "Value (of a control)"
> The value of an element or form control when used in calculating accessible names and/or descriptions include the values of the following properties:
> 1.	Value of ARIA-VALUETEXT attribute
> 2.	Value of ARIA-VALUENOW attribute
> 3.	Value of the VALUE attribute
> 4.	The text content of the selected OPTION elements in a SELECT box or LISTBOX
> 5.	Value of the ALT attribute (e.g. INPUT[TYPE="IMAGE"]
> 6.	Child text node content
>
> NOTE: The value of an element for the purposes of accessible name and description calculation does not include any content identified on an element through an aria-labelledby property.   This is condition is excluded to eliminate the possibility of circular naming algorithms that can occur when aria-labelledby and ara-describedby properties reference elements with an aria-labelledby property.

I would make it more general still, since it's a glossary entry. All of 
our entries have @IDs, and any specification, not just the ARIA 
documents, can link to them.  *Generally speaking*, the "value of a 
control" has nothing to do with accessible names.  That only comes up in 
the context of a control embedded inside of a label of some other 
element.  That situation is covered by Step 2E in the name computation 
document [1].

Also, I have slight misgivings about listing all of the attributes 
because I'm not sure it's complete.  Sometime, in the future, someone is 
going to invent another type of control whose value is defined by some 
other attribute.  Do we constantly update the glossary entry when that 
happens?  Perhaps it should be worded to indicate that the list of 
attributes is a representative sample.

Finally, I'm not sure about what is meant by "Child text node content" 
(number 6).  What kind of control uses "child text node content" as its 
value?  Do you mean something like an html <textarea>?

Given all of that, here is my suggested rewording:

Definition of "Value of a control"
The value of an element or form control is the information provided by 
the user when they manipulate that control.  The following list is an 
example some of the properties that define values for controls :
* Value of the VALUE attribute for an INPUT element
* Value of the ALT attribute for INPUT[TYPE="IMAGE"]
* The text content of the selected OPTION elements in a SELECT box or 
LISTBOX
* Child text node content of a TEXTAREA
* Value of ARIA-VALUETEXT attribute
* Value of ARIA-VALUENOW attribute

Hope that helps.

[1] http://w3c.github.io/aria/accname-aam/accname-aam.html#step2E

-- 
;;;;joseph.

'Array(16).join("wat" - 1) + " Batman!"'
            - G. Bernhardt -

Received on Wednesday, 10 December 2014 19:33:31 UTC