the 15th of August, 2018

Simplification of the design pattern for the accordion

The accordion design pattern has been updated, and it is far simpler: no more keyboard shortcuts needed when you are in accordion contents. All buttons are now focusable, which is also far simpler. By the way, some of these shorcuts did not work, as they were in conflict with some browser keyboard shortcuts, so no regrets.

The script is thus lighter (no need to manage these shortcuts), and is now compliant with the last version of accordion design pattern.

This fix has been published (in 3 steps due to bugs) on Github/NPM today (See Github repositery of Van11y accordion script). Documentation of the accessible accordion has also been updated.

A big thank to @goetsu and @zigazou for mentionning this point!