fix(admin): polish categories
Add accessible names to select-all, per-row select, and per-row visibility-toggle checkboxes in the table view — none had them, including the visibility toggle whose <label> wrapped only the input with no text content (empty accessible name). Tree/grid views already had aria-label on their row checkboxes; table view was the gap. New adminCategories.selectAllRows/selectRow/toggleVisibility keys added across en/ru/hy. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1448,6 +1448,9 @@ export const en: Translations = {
|
||||
replaceImage: 'Replace image',
|
||||
search: 'Search categories…',
|
||||
showDeleted: 'Show deleted',
|
||||
selectAllRows: 'Select all categories',
|
||||
selectRow: 'Select category',
|
||||
toggleVisibility: 'Toggle visibility',
|
||||
create: 'Create category',
|
||||
edit: 'Edit category',
|
||||
title: 'Title',
|
||||
|
||||
@@ -1443,6 +1443,9 @@ export const hy: Translations = {
|
||||
replaceImage: 'Փոխարինել պատկերը',
|
||||
search: 'Փնտրել կատեգորիաներ…',
|
||||
showDeleted: 'Ցույց տալ ջնջվածները',
|
||||
selectAllRows: 'Ընտրել բոլոր կատեգորիաները',
|
||||
selectRow: 'Ընտրել կատեգորիան',
|
||||
toggleVisibility: 'Փոխել տեսանելիությունը',
|
||||
create: 'Ստեղծել կատեգորիա',
|
||||
edit: 'Խմբագրել կատեգորիան',
|
||||
title: 'Անուն',
|
||||
|
||||
@@ -1443,6 +1443,9 @@ export const ru: Translations = {
|
||||
replaceImage: 'Заменить изображение',
|
||||
search: 'Поиск категорий…',
|
||||
showDeleted: 'Показать удалённые',
|
||||
selectAllRows: 'Выбрать все категории',
|
||||
selectRow: 'Выбрать категорию',
|
||||
toggleVisibility: 'Переключить видимость',
|
||||
create: 'Создать категорию',
|
||||
edit: 'Редактировать категорию',
|
||||
title: 'Название',
|
||||
|
||||
@@ -1456,6 +1456,9 @@ export interface Translations {
|
||||
replaceImage: string;
|
||||
search: string;
|
||||
showDeleted: string;
|
||||
selectAllRows: string;
|
||||
selectRow: string;
|
||||
toggleVisibility: string;
|
||||
create: string;
|
||||
edit: string;
|
||||
title: string;
|
||||
|
||||
Reference in New Issue
Block a user