W3C home > Mailing lists > Public > public-html-a11y@w3.org > April 2012

Re: Finalizing an Issue-204 CP

From: Laura Carlson <laura.lee.carlson@gmail.com>
Date: Mon, 23 Apr 2012 12:10:07 -0500
Message-ID: <CAOavpvdOHNG+8drQCruPGW-YK9Pnczzae-o-MJcXKLJdgx7qSw@mail.gmail.com>
To: Cynthia Shelly <cyns@microsoft.com>
Cc: Janina Sajka <janina@rednote.net>, HTML Accessibility Task Force <public-html-a11y@w3.org>, John Foliot <john@foliot.ca>, Joshue O Connor <joshue.oconnor@cfit.ie>, Judy Brewer <jbrewer@w3.org>, "david100@sympatico.ca" <david100@sympatico.ca>, Richard Schwerdtfeger <schwer@us.ibm.com>, James Nurthen <james.nurthen@oracle.com>, Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>, "Jonas Sicking (jonas@sicking.cc)" <jonas@sicking.cc>, Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Hi Cynthia and everyone,

> http://www.w3.org/html/wg/wiki/Correct_Hidden_Attribute_Section_v2#Accessibility_API_mappings
> 1) rewrote summary to talk more about @hidden being simpler than CSS, rather than @aria-describedby being simpler than something else
> 2) changed example to one using an input and a label rather than an image with a short and long description
> 3) added section on what happens in the API when the item is hidden or not hidden
> 4) added the aria-labelledby row to the table from UIAG to show that the behavior is not just for description
> 5) changed the details section to offer stronger advice to authors not to do this with structured content.
> 6) minor copy edits, adding <code> styling, etc.

Wow. Big improvements. Thank you Cynthia for your work. This is really
coming along. I have the following suggestions. With these few
changes, I see no reason not to withdraw my proposal in favor of

1. Change:
<p class="note">Any structure in the referenced element, including
headings, links, tables, paragraphs, and form elements, will be lost.
The text children of the element will be flattened to a string. As
such, authors should only use this technique for where such flattened
content will provide a good user experience. At the time of this
writing, some screen reader products will read both the accessible
name and accessible description, so authors should take care with the
length of text provided via this method.</p>

To something like:

"This technique must not be used for longer content that has
structured text as accessible name and description calculation
[WAI-ARIA] will flatten the referenced elements to plain text, losing
interactivity and semantic structure.
<p class="note">Additionally at the time of this writing, some screen
reader products will read both the accessible name and accessible
description, so authors should take care with the length of text
provided via this method.</p>"

Although your current version is a big improvement over and does offer
stronger advice to authors to not use the technique with structured
content than your previous versions, Benjamin's April 21 message
provides strong rationale for having this part of the spec text be
normative (last few paragraphs of:
http://lists.w3.org/Archives/Public/public-html-a11y/2012Apr/0166.html )

By the way, this new suggested spec text is a variation of what I
have/had in my CP. The main difference is I have/had it as a "should
not". But I can't think of a reason to not make it a "must not". If
someone can provide rationale for "should not", "should not" is okay
with me.)

2. I would suggest reviewing and possibly deleting the problematic
examples that Benjamin identified.

3. Change:
"The @hidden attribute is the simplest, most straightforward mechanism
for hiding elements in HTML or CSS."

To something like:
"The @hidden attribute is a mechanism for hiding elements in HTML."

* The phrase: "simplest, most straightforward" is opinion and
circumstantial. It may be true for some authors under some situations.
In others it may not be.
* The @hidden attribute doesn't hide elements in CSS. It hides things in HTML.

4. Change:

All instances of the word "string" to the words "plain string text" or
"plain text".

Rationale see Benjamin's April 21 message:

Again, thanks Cynthia. I really appreciate all of your work on this.
Thanks to you too Benjamin for your keen observations.

Best Regards,
Laura L. Carlson
Received on Monday, 23 April 2012 17:10:37 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:28 UTC