From 1f0df6e69228e39d5faa12713aec10f3b4cfa491 Mon Sep 17 00:00:00 2001 From: Audrey Hamelers Date: Wed, 15 Jul 2026 13:07:27 +0200 Subject: [PATCH] simple tabindex and keyboard access --- src/templates/endpoint-template.js | 4 ++-- src/templates/expanded-endpoint-template.js | 4 ++-- src/templates/navbar-template.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/templates/endpoint-template.js b/src/templates/endpoint-template.js index 38afbb12..edacae97 100644 --- a/src/templates/endpoint-template.js +++ b/src/templates/endpoint-template.js @@ -125,9 +125,9 @@ function endpointBodyTemplate(path) { export default function endpointTemplate() { return html`
- Expand + Expand  |  - Collapse + Collapse
${(this.resolvedSpec && this.resolvedSpec.tags || []).map((tag) => html`
diff --git a/src/templates/expanded-endpoint-template.js b/src/templates/expanded-endpoint-template.js index 07eb0f68..6b38caac 100644 --- a/src/templates/expanded-endpoint-template.js +++ b/src/templates/expanded-endpoint-template.js @@ -20,8 +20,8 @@ export function expandedEndpointBodyTemplate(path, tag) { ${this.renderStyle === 'read' ? html`
` : ''}
${(this.renderStyle === 'focused' && tag && tag.name !== 'General ⦂') - ? html`

${tag?.name} ${tagSummary}

` + ? html`

${tag?.name} ${tagSummary}

` : ''} diff --git a/src/templates/navbar-template.js b/src/templates/navbar-template.js index b6016030..49798c4c 100644 --- a/src/templates/navbar-template.js +++ b/src/templates/navbar-template.js @@ -220,7 +220,7 @@ export default function navbarTemplate() {