A11Y: do not skip heading levels in keyboard shortcut modal (#28285)
This commit is contained in:
parent
65895f44e9
commit
234e155d3c
|
@ -13,9 +13,9 @@
|
|||
class="shortcut-category span-{{shortcutCategory.count}}
|
||||
shortcut-category-{{category}}"
|
||||
>
|
||||
<h4>{{i18n
|
||||
<h2>{{i18n
|
||||
(concat "keyboard_shortcuts_help." category ".title")
|
||||
}}</h4>
|
||||
}}</h2>
|
||||
<ul>
|
||||
{{#each-in shortcutCategory.shortcuts as |name shortcut|}}
|
||||
<li>{{html-safe shortcut}}</li>
|
||||
|
|
|
@ -43,7 +43,8 @@
|
|||
.shortcut-category {
|
||||
border: 1px solid var(--primary-low);
|
||||
|
||||
h4 {
|
||||
h2 {
|
||||
font-size: var(--font-0);
|
||||
background-color: var(--primary-very-low);
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue