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

Abierto
#2,136 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
68/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
java

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Java
Estrellas
140
Forks
35
Merge medio
17 h 39 min
PR fusionados (30 d)
19

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de virtualcell/vcell

Todos los issues de virtualcell/vcell

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.