Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Make CollapseCueText and ExpandCueText optional/configurable in accordion widget #5649
Presently, it looks like the collapseCueText and expandCueText strings are hard-coded and applied to the accordion (data-role collapsible) widget. EG,
While this may have been done for accessibility reasons, this is overly verbose and breaks localization.
A better way to handle this for accessibility would be to use aria-expanded=true (for expanded state) and aria-expanded="false" (for collapsed case).
This is a configurable option. See http://api.jquerymobile.com/collapsible/#option-collapseCueText.