How to trigger a focus state on elements that currently lack this capability

Hello! I’m interested in enabling a focus state for elements such as the date picker or dropdown menu. Essentially, I want to modify the styles of these elements when they are clicked by the user. After a selection is made, either choosing a date or an option from the dropdown, they should revert to their original appearance. Is there a method to achieve this?

Thanks in advance