Page MenuHomePhabricator

Flow: turn cancel links into real buttons
Open, MediumPublic

Description

When tabbing out of the reply textarea (at least in Firefox), focus will then be on "Cancel" link.
Hitting spacebar will trigger a pagedown (default browser behavior).

Hitting spacebar when Cancel is focussed should probably result in the cancel action being executed (just like hitting spacebar on "Preview" and "Reply" already executed those actions)

Reason it doesn't do this for "Cancel" is because it's an <a> element, not <input> (like the other 2 buttons)

We'll probably have to make "Cancel" a button too, so we can allow keyboard-only (impaired, may not be able to use mouse) users to submit their content.

For more context: https://www.mediawiki.org/w/index.php?title=Talk:Flow&topic[postId]=050defa6c14142ce2f4390b11c278234&workflow=050decb0de3eb234bf36842b2b774df2


Version: unspecified
Severity: normal

Details

Reference
bz59990