focusgroup: visibility check is unfortunate for focusgroup=menu in a popover

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
html, javascript
領域
frontend

調査の方向性

Look at the focusgroup polyfill's visibility check logic, likely in a file like focusgroup.js or polyfill.js. Find where it checks element visibility and see how it interacts with popover/dialog elements. The goal is to modify the check to skip popovers and dialogs. Test by creating a demo with a focusgroup=menu inside a popover and verifying keyboard navigation works after the change.

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

説明

It is very difficult to get the focusgroup polyfill to work when a focusgroup=menu is a popover or is within a popover.

<div focusgroup=menu popover>
  <button>Save</button>
  <button>Fork</button>
  <button>Delete</button>
</div>

Seems like it’d be worth skipping popovers and dialogs in the visibility check.

主要言語
JavaScript
スター
8
フォーク
5
平均マージ
1日 9時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

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

microsoft/polyfills のほかの issue

microsoft/polyfills の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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