cps-timepicker: fields and AM/PM selector don't reflow (WCAG 1.4.10)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 49/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- angular, playwright, scss, typescript
- Área
- accessibility, frontend
Línea de trabajo
Read projects/cps-ui-kit/src/lib/components/cps-timepicker/cps-timepicker.component.scss around &-body and investigate how the timepicker fits within cps-scheduler at desktop widths. Then run the reflow and 200% text tests in playwright/cps-ui-kit/accessibility-cps-ui-kit.spec.ts; done means the timepicker fits at the specified widths, those tests pass, and desktop rendering of both components is unchanged.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
cps-timepicker doesn't reflow (WCAG 1.4.10). The hours, minutes and seconds fields, their delimiters and the AM/PM selector stay on one row. That row is about 362 px wide. At 320 px and 640 px wide, about 245 px is available in a docs example, so the AM/PM selector sticks out and the page scrolls sideways. The same happens at 1280 px with 200% text.
Found by the reflow tests added in #908.
Where
projects/cps-ui-kit/src/lib/components/cps-timepicker/cps-timepicker.component.scss:29 (&-body): a flex row with no wrapping.
Why it's not a one-line fix
flex-wrap: wrap on the body fixes the timepicker page, but it changes the desktop layout of cps-scheduler. There the timepicker sits in a row that's already too narrow for it (the Monthly view gets about 72 px taller at 1280 px). The timepicker has to wrap without changing the scheduler at desktop widths, so fix it together with, or after, the scheduler reflow issue.
Acceptance criteria
- At 320 px and 640 px, and at 1280 px with 200% text, the timepicker fits its container.
- Remove the
Timepickerentry fromKNOWN_FAILURESinplaywright/cps-ui-kit/accessibility-cps-ui-kit.spec.ts. Its reflow and 200% text tests then pass. - Desktop rendering of both the timepicker and the scheduler is unchanged.
- Lenguaje dominante
- TypeScript
- Estrellas
- 9
- Forks
- 8
- Merge medio
- 1 d 1 h
- PR fusionados (30 d)
- 23
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de AbsaOSS/cps-shared-ui
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
AbsaOSS/cps-shared-ui#875 ·
Los mantenedores suelen responder en 1 día
-
InputComponent - expand type beyond text/number/passwordQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertoenhancement library
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
AbsaOSS/cps-shared-ui#644 ·
Los mantenedores suelen responder en 1 día
-
cps-table/tree-table: changing rows-per-page on an empty table doesn't emitPosiblemente ocupada @lukasmatta la tomó hoy. Abiertobug library
AbsaOSS/cps-shared-ui#944 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Esc: gaps in tooltip and notification dismissalPosiblemente ocupada @fateeand la tomó hace 1 día. Abiertoaccessibility bug library
AbsaOSS/cps-shared-ui#942 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
AbsaOSS/cps-shared-ui#940 ·
Los mantenedores suelen responder en 1 día
Todos los issues de AbsaOSS/cps-shared-ui
Issues similares
-
test-reliability
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Azure/azure-sdk-for-js#40672 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
HarperFast/studio#2067 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
liberation-data/drivine#639 · 2 comentarios ·
Los mantenedores suelen responder en 1 día