Project: moodle
Issue MDL-43969: Improve accessibility of shortform collapsing
As raised in MDL-43867, we currently have aria-live="polite" on the fieldsets which propagates down to every element in the fieldset. We also do not announce whether the fieldset is open or closed. We should announce the current state using the aria-expanded attribute, and remove the aria-live="polite" from the fieldset. The problem with the current solution is that it causes firefox/NVDA to read characters twice as they are typed into a field.
Story points: 20