feat: cover Enter on the web for custom buttons in the accessibility skill

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
1/5
見積もり時間
1〜3時間
初心者へのやさしさ
80/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
dart, flutter
領域
accessibility

調査の方向性

リポジトリ内でアクセシビリティスキルのドキュメントを見つけ、既存のキーボード操作に関するガイダンスを読んでください。カスタムボタンとリンクはWeb上でEnterに応答する必要があることを記載し、ウィジェットテストでFlutterのWebキーボードマッピングを使ってEnterをテストする方法を説明するよう更新してください。両方の要件が網羅され、テストカバレッジを下げることなくCIチェックに合格したら完了です。

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

説明

feature
Description

The accessibility skill does a good job on keyboard access. It steers away from pointer-only widgets and asks for controls that keyboard users can reach. One case it doesn't cover yet is custom buttons that register their own keyboard actions.

On Flutter web, Space and Enter trigger different actions. Space works for a custom button out of the box, but Enter only works if the button also handles the web-specific action. So a custom button can work with Space in the browser while Enter does nothing.

Widget tests don't catch this, because they run with the keyboard mapping of other platforms, where both keys trigger the same action. A test that presses Enter passes even when Enter is broken in the browser.

The suggestion is to add this case to the skill, so custom buttons and links are checked for Enter on the web and tested the way the web handles it.

Requirements
  • The accessibility skill says custom buttons and links must respond to Enter on the web, not just Space.
  • The skill explains how to test Enter with the web keyboard mapping in a widget test.
  • All CI/CD checks are passing.
  • There is no drop in the test coverage percentage.
Additional Context

Flutter's default web shortcuts map Space to ActivateIntent and Enter to ButtonActivateIntent. Other platforms map both keys to ActivateIntent.

主要言語
Shell
スター
180
フォーク
25
平均マージ
1日 7時間
マージ済み PR(30日)
17

環境構築

はじめの一歩

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

VeryGoodOpenSource/vgv-ai-flutter-plugin のほかの issue

VeryGoodOpenSource/vgv-ai-flutter-plugin の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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