Input validation: keep the error reason visible after the dialog closes (#1605 audit S5)

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

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

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

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
java
領域
accessibility

調査の方向性

Start from docs/accessibility/color-audit.md row S5 to see the audited components, then locate where GuiConstants.ProblematicTextFieldBorder is applied. Inspect OutputOptionsPanel, MeshSpecificationPanel, StochSimOptionsPanel, TableCellEditorAutoCompletion and EditorScrollTable to find where the validation dialog is shown and dismissed. Replace the red-border-only state with a persistent inline text/icon message plus an accessible description set on the field; done when, with the dialog closed, the invalid field still displays its reason as visible text.

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

説明

Accessibility Requirement Java-based User Interface

Follow-up from the #1605 color audit, row S5 (docs/accessibility/color-audit.md). Low priority; it's not a WCAG failure.

Finding. Invalid input is already described in text before the red border appears, so WCAG 3.3.1 and 1.4.1 are met. OutputOptionsPanel, MeshSpecificationPanel and StochSimOptionsPanel show an error or warning dialog. TableCellEditorAutoCompletion shows a dialog. EditorScrollTable shows the message as an automatic tooltip and then in a dialog. After the dialog closes, though, the field's only lasting sign of the error is GuiConstants.ProblematicTextFieldBorder, a 1 px Color.red border.

Proposal. Show a persistent inline message or icon next to the field while it is invalid. UConn's content guide recommends combining color, icon and text for form messages. Set the field's accessible description to the message.

Acceptance. While a field is invalid, the reason is visible as text without reopening a dialog.

Part of #1603.

主要言語
Java
スター
140
フォーク
35
平均マージ
17時間 39分
マージ済み PR(30日)
19

環境構築

はじめの一歩

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

virtualcell/vcell のほかの issue

virtualcell/vcell の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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