mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
scroll: Set tabIndex to -1 for simplebar content wrapper.
Fixes #30403. Having tabIndex set to 0 led to keyboard focus being put on a scrollbar container, which led to users having to tab twice to skip a container. This commit also removes instances of tabIndex being set to -1 programatically for certain cases, since it is -1 by default now. This commit also removes `outline: none` for simplebar since that property is not needed anymore because the wrapper is not focusable anymore.
This commit is contained in:
committed by
Tim Abbott
parent
d0ba886df8
commit
43eebbf9c6
@@ -67,7 +67,7 @@
|
||||
<input type="text" class="search filter_text_input" placeholder="{{t 'Filter code playgrounds' }}" aria-label="{{t 'Filter code playgrounds' }}"/>
|
||||
</div>
|
||||
|
||||
<div class="progressive-table-wrapper" data-simplebar>
|
||||
<div class="progressive-table-wrapper" data-simplebar data-simplebar-tab-index="-1">
|
||||
<table class="table table-striped wrapped-table admin_playgrounds_table">
|
||||
<thead class="table-sticky-headers">
|
||||
<th class="active" data-sort="alphabetic" data-sort-prop="pygments_language">{{t "Language" }}</th>
|
||||
|
||||
Reference in New Issue
Block a user