You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of the Fiori Next initiative, along with the Horizon theme family, we would like to change the focus outline behaviour as follows: focus should be present only on pressing keyboard keys. Currently we apply focus upon mouse interaction (click) as well. So, we would have to distinguish between these two cases and apply focus outline only in the first case.
There is a native solution, you can make use of :focus-visible pseudo class to set the focus only via keyboard navigation.
When switching to the CSS solution, the focused state and the event handlers that update it should be removed.
Additional Context
For use-cases when the focus outline should be displayed on another HTML element other than the focused one, the ":focus-visible" won't work as it matches the actual focused element.
Contact UI5 Web Components Core team for all cases that the CSS solution won't work to discuss how to
handle them.
Priority
Low
Medium
High
Very High
A clear and concise description of the impact/urgency of the required feature.
Stakeholder Info (if applicable)
Organization: SAP UX
The text was updated successfully, but these errors were encountered:
ilhan007
changed the title
[Draft][Topic P] All components - display focus outline via keyboard only
[Topic P] All components - display focus outline via keyboard only
Aug 30, 2022
Feature Request Description
As part of the Fiori Next initiative, along with the Horizon theme family, we would like to change the focus outline behaviour as follows: focus should be present only on pressing keyboard keys. Currently we apply focus upon mouse interaction (click) as well. So, we would have to distinguish between these two cases and apply focus outline only in the first case.
Origin issue: #3986
Proposed Solution
There is a native solution, you can make use of :focus-visible pseudo class to set the focus only via keyboard navigation.
When switching to the CSS solution, the
focused
state and the event handlers that update it should be removed.Additional Context
For use-cases when the focus outline should be displayed on another HTML element other than the focused one, the ":focus-visible" won't work as it matches the actual focused element.
Example
Support
Contact UI5 Web Components Core team for all cases that the CSS solution won't work to discuss how to
handle them.
Priority
A clear and concise description of the impact/urgency of the required feature.
Stakeholder Info (if applicable)
The text was updated successfully, but these errors were encountered: