]> cat aescling's git repositories - mastodon.git/commit
Improve accessibility (part 4) (#4408)
authorSorin Davidoi <sorin.davidoi@gmail.com>
Fri, 28 Jul 2017 02:37:30 +0000 (04:37 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 28 Jul 2017 02:37:30 +0000 (04:37 +0200)
commitb7d47c2aef23ec6219b6fb0038bc64629b285701
tree8aec7cded8dd7bb9b341b3adcfa946e9a3990a1c
parent6270f9ce340ba8e120f743ff9bf1d76224871ca1
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
.eslintrc.yml
app/javascript/mastodon/components/dropdown_menu.js
app/javascript/mastodon/components/icon_button.js
app/javascript/mastodon/components/status.js
app/javascript/mastodon/components/status_list.js
app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js
app/javascript/mastodon/features/compose/components/privacy_dropdown.js
app/javascript/mastodon/features/notifications/components/setting_toggle.js
app/javascript/mastodon/features/ui/components/actions_modal.js