Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the keyboard focus outline configurable #3374

Closed
Tyriar opened this issue Feb 23, 2016 · 15 comments
Closed

Make the keyboard focus outline configurable #3374

Tyriar opened this issue Feb 23, 2016 · 15 comments
Assignees
Labels
accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues feature-request Request for new features or functionality ux User experience issues
Milestone

Comments

@Tyriar
Copy link
Member

Tyriar commented Feb 23, 2016

#3246

I have a lot of difficulty on Dark+ theme finding some of the keyboard focuses. Can a fatter border be used to represent focus so it's more clear?

@Tyriar
Copy link
Member Author

Tyriar commented Feb 23, 2016

Another way to highlight the focus would be to change the color of the active panel.

@Tyriar Tyriar changed the title Keyboard focus is too subtle Keyboard accessibility: Keyboard focus is too subtle Feb 23, 2016
@joaomoreno joaomoreno added the polish Cleanup and polish issue label Feb 24, 2016
@bpasero bpasero added this to the March 2016 milestone Feb 29, 2016
@bpasero bpasero added the ux User experience issues label Feb 29, 2016
@bpasero
Copy link
Member

bpasero commented Feb 29, 2016

@stevencl @bgashler1 fyi

@bpasero
Copy link
Member

bpasero commented Mar 1, 2016

@Tyriar can you give a concrete example where you find the focus indication is too subtle?

@Tyriar
Copy link
Member Author

Tyriar commented Mar 1, 2016

I lost track multiple times when the focus went to the buttons at the top-right of the editors.

@bpasero
Copy link
Member

bpasero commented Mar 1, 2016

Right, I also see this sometimes but I hate to make the focus indication stronger by default. I wonder if we should have a theme that makes the outline stronger for those that want it or provide a setting.

@Tyriar
Copy link
Member Author

Tyriar commented Mar 1, 2016

It could potentially be a configurable option, or highlight the background instead of the border like is done with list items?

@bpasero bpasero assigned stevencl and unassigned bpasero Mar 1, 2016
@bpasero bpasero removed the polish Cleanup and polish issue label Mar 1, 2016
@bpasero
Copy link
Member

bpasero commented Mar 1, 2016

Up for UX discussion.

@bgashler1
Copy link
Contributor

@Tyriar that's funny we both noticed the same problem (I didn't realize you had created an issue for it).

@bpasero I think we need to increase the default contrast to make this more clear. I've received feedback from a user that certain monitors with low contrast cannot display colors like this very well. While we don't need to make this AAA-level accessibility necessarily (that's what high-contrast mode is for), it's important that we address this from a usability perspective.

@bpasero
Copy link
Member

bpasero commented Mar 4, 2016

Maybe its just a matter of picking a different CSS for active actions? Actions are small and thus the blue border around them is subtle, but if e.g. we decide to change the background color of them maybe that would make things better overall?

@stevencl
Copy link
Member

stevencl commented Mar 9, 2016

Maybe we could start by increasing the default contrast and possibly increasing the border thickness? I would be concerned about possible misinterpretations of what a change in background colour means. If we can resolve this by being consistent with how we show focus on other elements that would be good.

@stevencl stevencl assigned bpasero and unassigned stevencl Mar 9, 2016
@bpasero
Copy link
Member

bpasero commented Mar 9, 2016

@stevencl @Tyriar here are some outcomes, first with 2px border, second with 3px border. would like to hear if you think the border has any impact or rather we should pick a different color?

2px:
image

3px:
image

@stevencl
Copy link
Member

stevencl commented Mar 9, 2016

Thanks Ben. The 2px border looks fine to me. But I would need to see it in action as the challenge is finding it when looking at the whole screen, working on some task.

@bpasero
Copy link
Member

bpasero commented Mar 9, 2016

@stevencl you can change this in https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/electron-browser/media/shell.css#L59 for the light theme and https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/electron-browser/media/shell.css#L71 for the dark theme. Just replace the 1px in outline and outline-offset with other values.

@bpasero bpasero modified the milestones: Backlog, March 2016 Mar 10, 2016
@bpasero
Copy link
Member

bpasero commented Mar 10, 2016

Moving off of GA, I think we can always revisit after.

@bpasero bpasero changed the title Keyboard accessibility: Keyboard focus is too subtle Make the keyboard outline configurable Apr 2, 2016
@bpasero bpasero added the feature-request Request for new features or functionality label Apr 2, 2016
@bpasero bpasero changed the title Make the keyboard outline configurable Make the keyboard focus outline configurable Apr 2, 2016
@bpasero bpasero added the accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues label Apr 2, 2016
@bpasero bpasero removed their assignment Aug 17, 2016
@bpasero
Copy link
Member

bpasero commented May 25, 2017

Possible now via setting:

"workbench.colorCustomizations": {
	"focusBorder": "#f3f3f3"
}

@bpasero bpasero closed this as completed May 25, 2017
@bpasero bpasero self-assigned this May 25, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues feature-request Request for new features or functionality ux User experience issues
Projects
None yet
Development

No branches or pull requests

5 participants