docbrown/app/javascript/crayons/Dropdown/__stories__
Suzanne Aitchison af517bc5aa
Optimise dropdowns for accessibility: Preact component usages (#13948)
* use the dropdown initializer in post editor options

* use dropdown initializer in comment subs dropdown

* use Dropdown component in listings

* show the dropdown button when it's focused

* update storybook notes and components

* add cypress tests for post options dropdown

* add comment subscription tests

* make sure page is properly initialized before setting button functionality

* add jsdoc comments, props types, rely on optional chaining

* Update app/javascript/crayons/Dropdown/__stories__/dropdowns.md

Co-authored-by: rhymes <github@rhymes.dev>

* Update app/javascript/crayons/Dropdown/__stories__/dropdowns.md

Co-authored-by: rhymes <github@rhymes.dev>

Co-authored-by: rhymes <github@rhymes.dev>
2021-06-15 12:06:27 +01:00
..
dropdown-css-helper.scss Storybook dropdown should be accessible 11724 (#12295) 2021-01-19 08:51:37 +00:00
dropdown.html.stories.jsx Optimise dropdowns for accessibility: Preact component usages (#13948) 2021-06-15 12:06:27 +01:00
Dropdown.stories.jsx Optimise dropdowns for accessibility: Preact component usages (#13948) 2021-06-15 12:06:27 +01:00
dropdowns.md Optimise dropdowns for accessibility: Preact component usages (#13948) 2021-06-15 12:06:27 +01:00