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 25437 - improve example
Summary: improve example
Status: RESOLVED WORKSFORME
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Using ARIA in HTML (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P3 normal
Target Milestone: ---
Assignee: steve faulkner
QA Contact: This bug has no owner yet - up for the taking
URL:
Whiteboard:
Keywords: a11y
Depends on:
Blocks:
 
Reported: 2014-04-24 08:59 UTC by steve faulkner
Modified: 2014-06-08 14:19 UTC (History)
4 users (show)

See Also:


Attachments

Description steve faulkner 2014-04-24 08:59:26 UTC
Otherwise insert, change and remove ARIA via scripting. For instance, a collapsed section of a tree widget might look like this:
<li role=treeitem aria-expanded=false ...

When the user opens the section, it is changed to this using JavaScript :

<li role=treeitem aria-expanded=true ...