From 6101feed9b29830b1a66b596cb9237f76ce823e5 Mon Sep 17 00:00:00 2001 From: Mateus Machado Luna Date: Fri, 4 Oct 2019 12:20:36 -0300 Subject: [PATCH] LOTS of modal acessibility improvements due to release of Buefy 0.8.5 with focus-trap. Finally doing something else for #3. --- package-lock.json | 6 +- package.json | 2 +- .../bulk-edition/bulk-edition-modal.vue | 13 ++- .../edition/collection-edition-form.vue | 3 +- .../edition/importer-mapping-form.vue | 107 ++++++++++-------- .../edition/item-bulk-edition-form.vue | 3 +- .../components/edition/item-edition-form.vue | 19 +++- .../item-metadata-bulk-edition-form.vue | 6 +- .../edition/taxonomy-edition-form.vue | 6 +- .../components/lists/activities-list.vue | 3 +- .../components/lists/basic-term-item.vue | 8 +- .../components/lists/collections-list.vue | 15 ++- src/admin/components/lists/filters-list.vue | 10 +- src/admin/components/lists/items-list.vue | 22 ++-- src/admin/components/lists/metadata-list.vue | 15 ++- src/admin/components/lists/processes-list.vue | 12 +- .../components/lists/recursive-term-item.vue | 8 +- .../components/lists/taxonomies-list.vue | 9 +- src/admin/components/lists/terms-list.vue | 3 +- .../components/navigation/tainacan-header.vue | 3 +- .../tainacan-repository-subheader.vue | 3 +- .../other/activity-details-modal.vue | 12 +- .../other/available-exporters-modal.vue | 12 +- .../other/available-importers-modal.vue | 12 +- .../components/other/checkbox-radio-modal.vue | 12 +- .../components/other/collections-modal.vue | 12 +- src/admin/components/other/custom-dialog.vue | 10 +- src/admin/components/other/document-item.vue | 19 +++- src/admin/components/other/exposers-modal.vue | 10 +- src/admin/components/other/file-item.vue | 10 +- .../components/other/item-copy-dialog.vue | 11 +- src/admin/components/search/pagination.vue | 3 +- .../components/search/skeleton-items-list.vue | 3 +- src/admin/pages/lists/collections-page.vue | 12 +- src/admin/pages/lists/items-page.vue | 50 +++++--- src/admin/pages/lists/taxonomies-page.vue | 3 +- src/admin/pages/lists/term-items-page.vue | 47 ++++++-- src/admin/pages/singles/item-page.vue | 5 +- .../filter-types/checkbox/Checkbox.vue | 3 +- src/classes/filter-types/date/Date.vue | 3 +- src/classes/filter-types/numeric/Numeric.vue | 3 +- .../filter-types/taxonomy/Checkbox.vue | 1 + .../metadata-types/taxonomy/Taxonomy.vue | 1 + 43 files changed, 373 insertions(+), 157 deletions(-) diff --git a/package-lock.json b/package-lock.json index 128b22f63..71ce1e51c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1951,9 +1951,9 @@ } }, "buefy": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/buefy/-/buefy-0.8.3.tgz", - "integrity": "sha512-01aHoCy4LAD08MmUahXC8mVqtGK/kzJ45ysXskwLWILAhyLMqkZ5fvdMKD9Ky6iDsMttPHdwUe2csmdnIx9caw==", + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/buefy/-/buefy-0.8.5.tgz", + "integrity": "sha512-yGQUhIsZWTodCx1rpfDTA32v5OjILpDIDAP+X6KoE6du3F3EZwJ/k5aT8D6Ba6AxNzVdDa2M7f0hzMddLbm38A==", "requires": { "bulma": "0.7.5" } diff --git a/package.json b/package.json index 8ddcd0e23..31ca65333 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "axios": "^0.19.0", - "buefy": "^0.8.3", + "buefy": "^0.8.5", "bulma": "^0.7.5", "mdi": "^2.2.43", "moment": "^2.22.2", diff --git a/src/admin/components/bulk-edition/bulk-edition-modal.vue b/src/admin/components/bulk-edition/bulk-edition-modal.vue index abb01581f..f12fb76f8 100644 --- a/src/admin/components/bulk-edition/bulk-edition-modal.vue +++ b/src/admin/components/bulk-edition/bulk-edition-modal.vue @@ -1,5 +1,12 @@