<details> element is tabbable via keyboard but has a computed tabIndex of -1

オープン
#175 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
html

調査の方向性

Start with the proposed test file in wpt/focus and review nearby focus tests for conventions. Cover a details element without a nested summary, verifying its keyboard focusability and computed tabIndex, then confirm the test captures the expected behavior across browsers.

索引モデルが issue の本文から書いたものです。

説明

The <details> element remains focusable and operable via keyboard even when no <summary> is nested. Given this behavior, I would expect its computed tabIndex value to be 0. However, none of the major browsers expose it as such (all return -1).

I understand that WPT currently focuses on testing accessible names and roles, but considering there is an existing folder in WPT called "focus", it might be reasonable and feasible to include this scenario as well.

I've added a file in wpt/focus, but feel free to remove, update, or modify it if it's misplaced or if the approach is incorrect.

主要言語
言語のデータがありません
スター
57
フォーク
5
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

web-platform-tests/interop-accessibility のほかの issue

web-platform-tests/interop-accessibility の issue をすべて見る

似ている issue

Accessibility の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。