[Bug 19277] Relationship and precedence of hidden="" and display:none should be clarified/defined

https://www.w3.org/Bugs/Public/show_bug.cgi?id=19277

--- Comment #21 from James Craig <jcraig@apple.com> ---
In PF discussion today, the issue is that an author could do this: 

[hidden] { 
  display: block !important;
}

So therefore:

<el hidden> would be displayed, but still mapped to aria-hidden="true", which
would result in content that is accessible to everyone except assistive
technology users. (weak or strong mapping is irrelevant; both result in the
same outcome)

The resolution should potentially include:

1. Make it an author error/warning to override the CSS display of elements
matching [hidden] in such a way that it "unhides" the content.

2. Make the @aria-hidden weak mapping to @hidden only apply to the rendered
display outcome of the element with all CSS rules applied. (e.g. <el hidden
style="display:block"> would not map to aria-hidden="true")

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 9 December 2013 16:19:48 UTC