This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26172 - (ARIA table) should noscript have aria-hidden=true if scripting is disabled?
Summary: (ARIA table) should noscript have aria-hidden=true if scripting is disabled?
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: LC
Assignee: steve faulkner
QA Contact: HTML WG Bugzilla archive list
URL: http://www.w3.org/html/wg/drafts/html...
Whiteboard:
Keywords:
Depends on: 26171
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-22 13:18 UTC by steve faulkner
Modified: 2014-07-16 11:24 UTC (History)
7 users (show)

See Also:


Attachments

Description steve faulkner 2014-06-22 13:18:37 UTC
+++ This bug was initially created as a clone of Bug #26171 +++

Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html
Multipage: http://www.whatwg.org/C#table-aria-strong
Complete: http://www.whatwg.org/c#table-aria-strong
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
(ARIA table) should noscript have aria-hidden=true if scripting is disabled?

Posted from: 90.230.218.37 by simonp@opera.com
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36 OPR/22.0.1471.40 (Edition Next)
Comment 1 steve faulkner 2014-06-22 13:23:21 UTC
> (ARIA table) should noscript have aria-hidden=true if scripting is disabled?

Think you meant aria-hidden=false or aria-hidden=true if scripting is enabled?
Comment 2 alexander surkov 2014-06-23 14:12:01 UTC
I'd say script tag is not in area of interest of assistive technology, thus having aria-hidden on it does not make any sense.
Comment 3 steve faulkner 2014-06-23 14:29:23 UTC
(In reply to alexander surkov from comment #2)
> I'd say script tag is not in area of interest of assistive technology, thus
> having aria-hidden on it does not make any sense.

its the <noscript>[1] element, the content of which is displayed if scripting is disabled/absent

[1] http://www.w3.org/html/wg/drafts/html/master/scripting-1.html#the-noscript-element

my thinking on it is that the noscript element has no semantics that need to be exposed to the user. It is not represented in the acc tree when JS enabled (nor is its content. When javascript is disabled its content is displayed on screen and in acc tree, but the <noscript> element itself is not (tested in FIREFOX/IE/Chrome) 

Requiring aria-hidden=true when scripting is enabled would require some browsers to do something different than they are doing now and is unnecessary.
Comment 4 steve faulkner 2014-06-23 14:36:04 UTC
(In reply to steve faulkner from comment #3)


(tested in FIREFOX 29/IE 11/Chrome 35) windows 8.1 
test file:
http://stevefaulkner.github.io/html-mapping-tests/browser-tests/noscript.html

checked using aViewer http://www.paciellogroup.com/resources/aviewer
Comment 5 alexander surkov 2014-06-23 20:25:02 UTC
(In reply to steve faulkner from comment #3)
> (In reply to alexander surkov from comment #2)
> > I'd say script tag is not in area of interest of assistive technology, thus
> > having aria-hidden on it does not make any sense.
> 
> its the <noscript>[1] element, the content of which is displayed if
> scripting is disabled/absent

I misread you, noscript is different one

> Requiring aria-hidden=true when scripting is enabled would require some
> browsers to do something different than they are doing now and is
> unnecessary.

what the change could be?
Comment 6 steve faulkner 2014-06-24 10:21:58 UTC
(In reply to alexander surkov from comment #5)

> 
> > Requiring aria-hidden=true when scripting is enabled would require some
> > browsers to do something different than they are doing now and is
> > unnecessary.
> 
> what the change could be?

for example, in IE <noscript> or its content is not included in acc tree when JS enabled. If aria-hidden=true is added:

<noscript aria-hidden=true> IE adds the content to the tree with a state of invisible.

test file http://stevefaulkner.github.io/html-mapping-tests/browser-tests/noscript.html
Comment 7 alexander surkov 2014-06-24 15:23:07 UTC
I see. Why do we need to care to add mapping in this case?
Comment 8 steve faulkner 2014-06-24 15:25:35 UTC
(In reply to alexander surkov from comment #7)
> I see. Why do we need to care to add mapping in this case?

we don't, closing bug.