Improve accessibility (part 4) (#4408)
* fix(dropdown_menu): Keyboard navigation * fix(icon_button): Add aria-pressed attribute * fix(privacy_dropdown): Make accessible * fix(emoji_picker_dropdown): Make accessible * fix(icon_button): Support tabIndex * fix(actions_modal): Remove icon from tab order * fix(dropdown_menu): Add role=group * fix(setting_toggle): Toggle via space key * fix(dropdown_menu): Remove redundant handling of Space key * fix(emoji_picker_dropdown): Remove redundant Space key handling * fix(privacy_dropdown): Remove redundant Space key handling * fix(status): Switch to article and add aria-posinset, aria-setsize * fix(status_list): Use role=feed and pass more ARIA props to Status * chore(eslint): jsx-a11y/role-supports-aria-props
Showing
- .eslintrc.yml 1 addition, 1 deletion.eslintrc.yml
- app/javascript/mastodon/components/dropdown_menu.js 17 additions, 5 deletionsapp/javascript/mastodon/components/dropdown_menu.js
- app/javascript/mastodon/components/icon_button.js 5 additions, 0 deletionsapp/javascript/mastodon/components/icon_button.js
- app/javascript/mastodon/components/status.js 12 additions, 9 deletionsapp/javascript/mastodon/components/status.js
- app/javascript/mastodon/components/status_list.js 3 additions, 3 deletionsapp/javascript/mastodon/components/status_list.js
- app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js 20 additions, 3 deletions...odon/features/compose/components/emoji_picker_dropdown.js
- app/javascript/mastodon/features/compose/components/privacy_dropdown.js 10 additions, 6 deletions.../mastodon/features/compose/components/privacy_dropdown.js
- app/javascript/mastodon/features/notifications/components/setting_toggle.js 7 additions, 1 deletion...todon/features/notifications/components/setting_toggle.js
- app/javascript/mastodon/features/ui/components/actions_modal.js 1 addition, 1 deletion...vascript/mastodon/features/ui/components/actions_modal.js
Loading
Please register or sign in to comment