-
- Downloads
feat(cw-button): Add aria controls to CW trigger (#2303)
Add an ID to the CW spoiler input field to give aria-controls a handle on it. Pass that id to the CW trigger button. Modify text icon button component to accept aria controls id value. Add aria-expanded value to text icon button to indicate when it is expanded.
Showing
- app/assets/javascripts/components/features/compose/components/compose_form.jsx 1 addition, 1 deletion...s/components/features/compose/components/compose_form.jsx
- app/assets/javascripts/components/features/compose/components/text_icon_button.jsx 4 additions, 3 deletions...mponents/features/compose/components/text_icon_button.jsx
- app/assets/javascripts/components/features/compose/containers/spoiler_button_container.jsx 2 additions, 1 deletion.../features/compose/containers/spoiler_button_container.jsx
Please register or sign in to comment