Is it possible to modify the focus color of a dom element when using tab key navigation
donpaul120 opened this issue · 3 comments
Yes, it is possible to modify the focus color of a DOM element when using tab key navigation. You can use CSS to style the focus color of an element, for example:
:focus {
outline: 3px solid blue;
}
This will set the outline color to blue when the element is focused using the tab key. You can adjust the outline color and style to your preference.
I think i'm referring to how this can be done via GeckoSession
perhaps this is the wrong repository to ask.
I'm with the mozilla-android-components, and was hoping i could manipulate the DOM elements directly from java/kotlin.
There is no way to modify the DOM elements directly. You can use the WebExt API to load the suggested CSS example above into all web pages.