I have a button that is accessible and you can focus on it using keyboard. However after I removed the border and background of the button, when you navigate to it using keyboard the focus doesn't show even though it is on the button. This issue only happens in Firefox. Chrome and IE are fine.
This is my HTML:
<div class="collapse-state-toggle">
<button class="collapse-state-button"
@click="collapseStateToggle"
:aria-expanded="isCollapsed ? 'false' : 'true'"
aria-controls="collapsed-content">
...
And this is my CSS:
.collapse-state-toggle {
cursor: pointer;
float: right;
user-select: none;
.collapse-state-button {
border: none;
background: none;
.toggle-text {