docs: Make tabbed sections accessible from keyboard.

Part of #15948.
This commit is contained in:
Gittenburg
2020-07-29 12:54:39 +02:00
committed by Tim Abbott
parent ccaab2d471
commit 0706de2305
3 changed files with 12 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ NAV_BAR_TEMPLATE = """
""".strip()
NAV_LIST_ITEM_TEMPLATE = """
<li data-language="{data_language}">{name}</li>
<li data-language="{data_language}" tabindex="0">{name}</li>
""".strip()
DIV_TAB_CONTENT_TEMPLATE = """