Closed pppwr7 closed 3 months ago
Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.
Hello @SAP/ui5-webcomponents-topic-rl ,
When an input is focused and interactive icon is sloted, double focus appears.
The issue is reproducible this isolated example.
Not sure if this should be fixed in the icon or input. I am handing it over to the input owners as the double focus is visible there.
Best Regards, Gergana
Hello @pppwr7 the interactive
property of the ui5-icon
component defines if the icon should be focusable - https://sap.github.io/ui5-webcomponents/nightly/components/Icon/#interactive, and as you pointed out in the description of the issue - it should not be when it is used in а ui5-input
slot.
Is there a special reason why you add the 'interactive' property?
Hello, I the issue is no longer producible in the nightly version I will close the issue for now.
Describe the bug
When I focus on the icon present inside the input field, then the blue outline for focus is seen for the icon as well as the input box. Ideally, the blue outline should be only shown on the icon and not on the input box. This issue has been raised as part of accessibility testing.
Isolated Example
https://stackblitz.com/edit/github-pzlhay-kxhlew?file=src%2FApp.tsx
Reproduction steps
Expected Behaviour
blue outline on input box should not be seen on focus on icon
Screenshots or Videos
UI5 Web Components for React Version
latest
UI5 Web Components Version
latest
Browser
Chrome
Operating System
No response
Additional Context
No response
Relevant log output
No response
Organization
No response
Declaration