From 9247a6c4a2ce9b53d68a54a0971261bfbfadc014 Mon Sep 17 00:00:00 2001
From: Armando Trejo Oliver
Date: Tue, 12 Jan 2021 09:55:04 -0800
Subject: [PATCH] A11y fixes - Add a skip link and remove duplicate ids (#381)
* Add a skip link to allow people who navigate sequentially through content more direct access to the primary content of the Data Explorer
Co-authored-by: Chris Cao (Zen3 Infosolutions America Inc)
* Rename id of partition key field in Add Collection Pane to ensure no elements contain duplicate attributes.
Co-authored-by: Chris Cao (Zen3 Infosolutions America Inc)
---
less/hostedexplorer.less | 5 +++++
src/Explorer/Panes/AddCollectionPane.html | 2 +-
src/hostedExplorer.html | 23 +++++++++++++----------
3 files changed, 19 insertions(+), 11 deletions(-)
diff --git a/less/hostedexplorer.less b/less/hostedexplorer.less
index 137c76f11..86186d366 100644
--- a/less/hostedexplorer.less
+++ b/less/hostedexplorer.less
@@ -13,6 +13,11 @@
@NavMediumSpace: 10px;
@NavLargeSpace: 15px;
+.skip-link {
+ position: fixed;
+ top: -200px;
+}
+
html {
font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif;
padding: 0px;
diff --git a/src/Explorer/Panes/AddCollectionPane.html b/src/Explorer/Panes/AddCollectionPane.html
index 89096032c..cbbdc8195 100644
--- a/src/Explorer/Panes/AddCollectionPane.html
+++ b/src/Explorer/Panes/AddCollectionPane.html
@@ -257,7 +257,7 @@
range of values and is likely to have evenly distributed access patterns.