The examples for aria-expanded differ in the Wiki....

Not shure if this is the place to ask, but I found (maybe) a inconsistency in the Wiki.
On this page the ”aria-expanded” attribute is set on the section that expands/collapse:
http://www.w3.org/WAI/GL/wiki/Using_the_WAI-ARIA_aria-expanded_state_to_mark_expandable_and_collapsible_regions#Example_1:_Using_a_button_to_collapse_and_expand_a_region <http://www.w3.org/WAI/GL/wiki/Using_the_WAI-ARIA_aria-expanded_state_to_mark_expandable_and_collapsible_regions#Example_1:_Using_a_button_to_collapse_and_expand_a_region>

But on this page the ”aria-expanded” attribute is set on the button:
http://www.w3.org/WAI/GL/wiki/Using_aria-expanded_to_indicate_the_state_of_a_collapsible_element <http://www.w3.org/WAI/GL/wiki/Using_aria-expanded_to_indicate_the_state_of_a_collapsible_element>

Perhaps both ways works?


M.V.H. Johan Runesson
info@johanrunesson.se <mailto:info@johanrunesson.se>

Received on Wednesday, 16 December 2015 14:12:32 UTC