
hello I don't know if this is the right place to post, but I would like to know if it is possible to add a tab index in the roll template, the idea is to have the ability to focus on an element to show the modifier list of the roll. I tried this : html : <div class="sheet-rolltemplate-collapsible_entity_switch" tabindex="-1">
the roll result
</div>
<div class='sheet-rolltemplate-collapsible_entity_block '>
the modifiers
</div> css : .sheet-rolltemplate-collapsible_entity_block { display: none; }
.sheet-rolltemplate-collapsible_entity_switch:focus ~ .sheet-rolltemplate-collapsible_entity_block { display: block; }
Am I doing it wrong or is it just not allowed ?