From 0b5d842b784714986285ee79d577fe29b2dc699b Mon Sep 17 00:00:00 2001 From: Koen Van Geert Date: Wed, 27 Nov 2024 17:45:55 +0100 Subject: [PATCH] Accessibility: change page navigation buttons from div to button element --- .../src/page-navigator/page-navigator-item.component.html | 2 +- .../src/page-navigator/page-navigator.component.html | 2 +- .../src/page-navigator/page-navigator-item.html | 4 ++-- .../src/page-navigator/page-navigator.html | 2 +- packages/survey-creator-react/src/PageNavigator.tsx | 2 ++ .../survey-creator-vue/src/page-navigator/PageNavigator.vue | 1 + .../src/page-navigator/PageNavigatorItem.vue | 1 + 7 files changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/survey-creator-angular/src/page-navigator/page-navigator-item.component.html b/packages/survey-creator-angular/src/page-navigator/page-navigator-item.component.html index e8ae1f6ef5..b50c29eae4 100644 --- a/packages/survey-creator-angular/src/page-navigator/page-navigator-item.component.html +++ b/packages/survey-creator-angular/src/page-navigator/page-navigator-item.component.html @@ -1,6 +1,6 @@
-
diff --git a/packages/survey-creator-angular/src/page-navigator/page-navigator.component.html b/packages/survey-creator-angular/src/page-navigator/page-navigator.component.html index f670d44207..14922ac310 100644 --- a/packages/survey-creator-angular/src/page-navigator/page-navigator.component.html +++ b/packages/survey-creator-angular/src/page-navigator/page-navigator.component.html @@ -1,6 +1,6 @@
-
diff --git a/packages/survey-creator-knockout/src/page-navigator/page-navigator-item.html b/packages/survey-creator-knockout/src/page-navigator/page-navigator-item.html index e375e13ae2..c6474b7879 100644 --- a/packages/survey-creator-knockout/src/page-navigator/page-navigator-item.html +++ b/packages/survey-creator-knockout/src/page-navigator/page-navigator-item.html @@ -1,11 +1,11 @@
-
-
\ No newline at end of file +
diff --git a/packages/survey-creator-knockout/src/page-navigator/page-navigator.html b/packages/survey-creator-knockout/src/page-navigator/page-navigator.html index 0b1c948ebf..50dbb26159 100644 --- a/packages/survey-creator-knockout/src/page-navigator/page-navigator.html +++ b/packages/survey-creator-knockout/src/page-navigator/page-navigator.html @@ -1,6 +1,6 @@
-
diff --git a/packages/survey-creator-react/src/PageNavigator.tsx b/packages/survey-creator-react/src/PageNavigator.tsx index 05e549dc22..59234135a9 100644 --- a/packages/survey-creator-react/src/PageNavigator.tsx +++ b/packages/survey-creator-react/src/PageNavigator.tsx @@ -62,6 +62,7 @@ export class SurveyPageNavigator extends CreatorModelElement< return (
{attachKey2click(
this.model.togglePageSelector()} title={this.model.pageSelectorCaption} @@ -106,6 +107,7 @@ export class SurveyPageNavigatorItem extends CreatorModelElement { return (
{attachKey2click(
{ item.action(item); diff --git a/packages/survey-creator-vue/src/page-navigator/PageNavigator.vue b/packages/survey-creator-vue/src/page-navigator/PageNavigator.vue index b2a74fb3d1..90c42b1455 100644 --- a/packages/survey-creator-vue/src/page-navigator/PageNavigator.vue +++ b/packages/survey-creator-vue/src/page-navigator/PageNavigator.vue @@ -1,6 +1,7 @@