video.js icon indicating copy to clipboard operation
video.js copied to clipboard

Add focus outlines to controls

Open chrisauclair opened this issue 10 years ago • 6 comments

The default theme should include clear focus outlines on the controls by default, whether they're something custom or from the user agent. I know that designers love to hate them, but turning them off in the player by default is like turning them off in a browser by default. Leaving them enabled will steer most designers and devs in the right direction, and the rest can choose to weigh the implications of removing them.

chrisauclair avatar Mar 23 '16 20:03 chrisauclair

We do have a focus highlight outline thing replacement. Though, it's possibly should be more vibrant to make it more easily visible and noticeable.

gkatsev avatar Mar 23 '16 20:03 gkatsev

@gkatsev , the focus glow lacks enough contrast to be a suitable replacement for the outline. If the outline is such a non-starter, an alternative might be a very strong background color that is not the same color as the icon (or the same color as anything else in the player).

I strongly recommend this brief, opinionated read on the subject.

chrisauclair avatar Mar 23 '16 21:03 chrisauclair

@chrisauclair :+1:

OwenEdwards avatar Mar 29 '16 22:03 OwenEdwards

We should probably enable this as part of 6.0.

gkatsev avatar Sep 19 '16 22:09 gkatsev

Just wanted to ping this thread directly: outlines are restored in 6.0

gkatsev avatar Jan 25 '17 18:01 gkatsev

@gkatsev how to disable them across all player elements?

thijstriemstra avatar Jun 17 '17 00:06 thijstriemstra