Managing focus
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
調査の方向性
まず、issue で参照されているモーダルの実装とデモを見つけ、リンク先のアクセシブルなモーダルの例と動作を比較します。開く、Tab キーで移動する、Esc キーで閉じる、閉じる、フォーカスを復元するというすべての動作が説明どおりに機能し、アクセシブルな閉じるコントロールが存在すれば、作業は完了です。
索引モデルが issue の本文から書いたものです。
説明
Looking at the demos it looks like there is some focus management missing on the modals. Here's what needs to be added to fix it:
-
When a modal is open, focus should be sent to the modal (either on the element itself via .focus() and tabindex="-1" or sent to the first interactive element.
-
When a modal is open, focus should be trapped inside the modal (so you can't access elements behind it when tabbing with the keyboard).
-
When a modal is open, pressing the escape key should close the modal.
-
It would be nice if the modals had an explicit close button with an accessible name (e.g.
<button aria-label="close">X</button>. -
When a modal is closed, focus should be send back to the element which opened it.
An example of an accessible modal:
http://edenspiekermann.github.io/a11y-dialog/example/
The WAI-ARIA authoring practices guide on modals:
https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/dialog.html
- 主要言語
- JavaScript
- スター
- 599
- フォーク
- 56
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
electerious/basicLightbox のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
electerious/basicLightbox#45 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
electerious/basicLightbox#37 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 38/100
electerious/basicLightbox#27 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
electerious/basicLightbox#10 · コメント 4 件 ·
electerious/basicLightbox の issue をすべて見る
似ている issue
-
Mend: dependency security vulnerability
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
ManageIQ/manageiq-ui-service#2259 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
electerious/Ackee#411 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
babalae/bettergi-scripts-list#3905 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] "Configure Colota" opens Colota with "Invalid configuration: No configuration data in URL"オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 87/100
dedicatedcode/reitti#1445 ·
メンテナーはふだん 1 日以内に返信