From 9515160d31843468925e0225282286f72cb7b41d Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 4 Feb 2026 21:47:21 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Polish=20Spanish=20UI?= =?UTF-8?q?=20and=20accessibility?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix missing tildes in Spanish UI labels and messages (Mañana, Descripción, Título, Edición, Sesión, Búsqueda, Mías). - Add opening exclamation marks to empty state messages. - Add ARIA labels to icon-only buttons for filtering, expanding descriptions, and tag management. - Add ARIA labels to color inputs for better accessibility. All changes are under 50 lines and verified visually. Co-authored-by: Rumazor <87402949+Rumazor@users.noreply.github.com> --- .Jules/palette.md | 3 +++ frontend/components/tasks/task-dashboard.tsx | 4 ++-- frontend/components/tasks/task-filters.tsx | 8 +++++++- frontend/components/tasks/task-form.tsx | 11 +++++++---- frontend/components/tasks/task-list.tsx | 8 ++++---- 5 files changed, 23 insertions(+), 11 deletions(-) create mode 100644 .Jules/palette.md diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 0000000..d940532 --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,3 @@ +## 2026-02-04 - Polish Spanish UI and accessibility +**Learning:** Proper accentuation (tildes) in Spanish UI is critical for professionalism and clarity. Common words like 'Mañana', 'más', 'descripción', 'Título', 'Edición', 'sesión', 'Mías', and 'Búsqueda' are often missed. Additionally, icon-only buttons for common actions like filtering or expanding content frequently lack ARIA labels. +**Action:** Strictly ensure all Spanish text follows linguistic standards and always add descriptive ARIA labels to icon-only buttons, especially for stateful toggles (e.g., show/hide filters). diff --git a/frontend/components/tasks/task-dashboard.tsx b/frontend/components/tasks/task-dashboard.tsx index eaa3798..0107e88 100644 --- a/frontend/components/tasks/task-dashboard.tsx +++ b/frontend/components/tasks/task-dashboard.tsx @@ -170,7 +170,7 @@ export default function TaskDashboard({ - Cerrar sesion + Cerrar sesión @@ -241,7 +241,7 @@ export default function TaskDashboard({ value="mis-tareas" className="data-[state=active]:bg-background" > - Mias + Mías {myTasksCount} diff --git a/frontend/components/tasks/task-filters.tsx b/frontend/components/tasks/task-filters.tsx index f00cf38..b04b8a6 100644 --- a/frontend/components/tasks/task-filters.tsx +++ b/frontend/components/tasks/task-filters.tsx @@ -132,6 +132,7 @@ export default function TaskFiltersComponent({ size="icon" onClick={() => setShowFilters(!showFilters)} className="relative" + aria-label={showFilters ? "Ocultar filtros" : "Mostrar filtros"} > {activeFilterCount > 0 && ( @@ -286,6 +287,7 @@ export default function TaskFiltersComponent({ handlePriorityChange("all")} + aria-label="Quitar filtro de prioridad" > @@ -297,6 +299,7 @@ export default function TaskFiltersComponent({ handleTagChange("all")} + aria-label="Quitar filtro de etiqueta" > @@ -308,6 +311,7 @@ export default function TaskFiltersComponent({ handleCompletedChange("all")} + aria-label="Quitar filtro de estado" > @@ -319,6 +323,7 @@ export default function TaskFiltersComponent({ handleDueBeforeChange(undefined)} + aria-label="Quitar filtro de fecha" > @@ -326,10 +331,11 @@ export default function TaskFiltersComponent({ )} {activeFilters.search && ( - Busqueda: {activeFilters.search} + Búsqueda: {activeFilters.search} handleSearchChange("")} + aria-label="Quitar filtro de búsqueda" > diff --git a/frontend/components/tasks/task-form.tsx b/frontend/components/tasks/task-form.tsx index e03922b..d02e368 100644 --- a/frontend/components/tasks/task-form.tsx +++ b/frontend/components/tasks/task-form.tsx @@ -175,7 +175,7 @@ export default function TaskForm({ - Titulo de la tarea + Título de la tarea - Descripcion (opcional) + Descripción (opcional) - Fecha limite + Fecha límite setNewTagColor(e.target.value)} className="w-8 h-8 rounded cursor-pointer" + aria-label="Color de la etiqueta" /> @@ -334,6 +336,7 @@ export default function TaskForm({ size="sm" className="h-8" onClick={() => setShowNewTagForm(false)} + aria-label="Cancelar nueva etiqueta" > @@ -371,7 +374,7 @@ export default function TaskForm({ {editingTask && ( - Cancelar Edicion + Cancelar edición )} diff --git a/frontend/components/tasks/task-list.tsx b/frontend/components/tasks/task-list.tsx index 5420bf5..2c42ec2 100644 --- a/frontend/components/tasks/task-list.tsx +++ b/frontend/components/tasks/task-list.tsx @@ -66,7 +66,7 @@ function getDueDateInfo(dueDate: string) { } if (isTomorrow(date)) { return { - label: "Manana", + label: "Mañana", className: "text-blue-600 dark:text-blue-400", icon: Calendar, }; @@ -93,7 +93,7 @@ export default function TaskList({ if (tasks.length === 0) { return ( - No se encontraron tareas. Crea una para empezar! + No se encontraron tareas. ¡Crea una para empezar! ); } @@ -177,7 +177,7 @@ export default function TaskList({ size="sm" className="h-6 w-6 p-0" onClick={() => toggleTaskExpansion(task.id)} - aria-label={isExpanded ? "Contraer descripcion" : "Expandir descripcion"} + aria-label={isExpanded ? "Contraer descripción" : "Expandir descripción"} > {isExpanded ? ( @@ -203,7 +203,7 @@ export default function TaskList({ onClick={() => toggleTaskExpansion(task.id)} className="text-xs font-semibold text-primary hover:underline mt-1 focus:outline-none" > - {isExpanded ? "Ver menos" : "Ver mas"} + {isExpanded ? "Ver menos" : "Ver más"} )}
- No se encontraron tareas. Crea una para empezar! + No se encontraron tareas. ¡Crea una para empezar!