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

Đang mở
#2,136 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
accessibility

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Java
Star
140
Fork
35
Merge trung bình
17 giờ 39 phút
Pull request đã merge (30 ngày)
19

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của virtualcell/vcell

Tất cả issue của virtualcell/vcell

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.