]> cat aescling's git repositories - mastodon.git/commit
Fix poll options not being selectable via keyboard (#12538)
authorThibG <thib@sitedethib.com>
Tue, 3 Dec 2019 18:53:16 +0000 (19:53 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 3 Dec 2019 18:53:16 +0000 (19:53 +0100)
commitc05ed8a6254bc82fda3ae0fd3934dc2cdcf7c82d
tree3907d5b225a240aa43611a3d0cd16471d907bc5b
parentf1ef777d40235dc922a0b56da9fc00b98827c189
Fix poll options not being selectable via keyboard (#12538)

* Fix poll options not being selectable via keyboard

Fixes #12384

* Improve styling of poll option checkboxes/radio buttons

* Use more appropriate ARIA roles for poll options

* Allow switching between single and multiple choice from keyboard

* Coding style

* Avoid using .bind()
app/javascript/mastodon/components/poll.js
app/javascript/mastodon/features/compose/components/poll_form.js
app/javascript/styles/mastodon/polls.scss