Closed Bug 1277201 Opened 6 years ago Closed 2 years ago
When html:details is opened or closed, fire a STATE
This is spun off bug 634004. Due to some reframing, possibly related to bug 1261484, the accessible for the html:summary element is being recreated instead of just the contents in the html:details element behing shown or hidden. The accessible needs to remain the same for screen readers to pick up state changes from STATE_COLLAPSED to STATE_EXPANDED and vice versa. Automatic announcement of this state change does not work until we stop recreating this accessible.
This is the part of the patch for bug 634004 that didn't land, because it effectively doesn't do anything yet. As soon as the Open state of the details element is toggled, both the details and summary elements' accessibles are being recreated instead of the state toggled and the tree just updated with the newly inserted or removed content. Leaving this here for safekeeping and to demonstrate which direction this should go. No tests yet.
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/6368f6953a8f Fire a STATE_CHANGE event when a details element is opened or closed. r=eeejay
You need to log in before you can comment on or make changes to this bug.