cvrebert / cvrebert.github.io

The current incarnation of my blog
http://blog.chrisrebert.com
3 stars 0 forks source link

pointer-events:none considered harmful #12

Open cvrebert opened 8 years ago

cvrebert commented 8 years ago

Because of "clicks" via keyboard.

cvrebert commented 8 years ago

X-Ref: https://github.com/twbs/bootstrap/issues/17703

patrickhlauke commented 8 years ago

harmful vs "not enough" ?

cvrebert commented 8 years ago

I'm following a proud traditional naming formula for provocative essays here. :stuck_out_tongue:

"Harmful" in that it's prone to lead to flawed results that neglect the possibility of keyboard "clicks", and is thus somewhat of a footgun.

IMHO, optimally, its definition should be tweaked to prevent click events regardless of their exact input mechanism. Less optimally, something like a keyboard-events property would also solve the problem.

The current state is somewhere between an accessibility bug and a developer API usability bug.

cvrebert commented 8 years ago

Although I might choose a more moderate title for the actual article. But it's a useful shorthand for the issue title at least.