You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2021/02/02 04:09:57 UTC
[sling-org-apache-sling-app-cms] 01/02: Minor: fixing accessibility
issues in edit filter templates
This is an automated email from the ASF dual-hosted git repository.
dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git
commit b8496b4218b62c8cde47664d9db5fb6a72534649
Author: Dan Klco <dk...@apache.org>
AuthorDate: Mon Feb 1 22:59:05 2021 -0500
Minor: fixing accessibility issues in edit filter templates
---
core/src/main/resources/res/editinclude/delete.html | 2 +-
core/src/main/resources/res/editinclude/edit.html | 2 +-
core/src/main/resources/res/editinclude/reorder.html | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/core/src/main/resources/res/editinclude/delete.html b/core/src/main/resources/res/editinclude/delete.html
index b1fada7..d421464 100644
--- a/core/src/main/resources/res/editinclude/delete.html
+++ b/core/src/main/resources/res/editinclude/delete.html
@@ -18,7 +18,7 @@
<a href="/cms/editor/delete.html${resourcePath}" class="level-item button is-small has-text-black-ter action-button" title="Delete Component">
<span class="icon">
<span class="jam jam-trash">
- <span class="is-vhidden">Delete ${title}</span>
+ <span class="is-sr-only">Delete ${title}</span>
</span>
</span>
</a>
diff --git a/core/src/main/resources/res/editinclude/edit.html b/core/src/main/resources/res/editinclude/edit.html
index d20ca39..f78271a 100644
--- a/core/src/main/resources/res/editinclude/edit.html
+++ b/core/src/main/resources/res/editinclude/edit.html
@@ -18,7 +18,7 @@
<a href="/cms/editor/edit.html${resourcePath}?editor=${editPath}" class="level-item button is-small has-text-black-ter action-button" title="Edit ${title}">
<span class="icon">
<span class="jam jam-pencil-f">
- <span class="is-vhidden">Edit ${title}</span>
+ <span class="is-sr-only">Edit ${title}</span>
</span>
</span>
</a>
diff --git a/core/src/main/resources/res/editinclude/reorder.html b/core/src/main/resources/res/editinclude/reorder.html
index 95bcfd1..e72c5ae 100644
--- a/core/src/main/resources/res/editinclude/reorder.html
+++ b/core/src/main/resources/res/editinclude/reorder.html
@@ -18,7 +18,7 @@
<a href="/cms/editor/reorder.html${resourcePath}" class="level-item button is-small has-text-black-ter action-button" title="Reorder ${title}">
<span class="icon">
<span class="jam jam-arrows-v">
- <span class="is-vhidden">
+ <span class="is-sr-only">
Reorder ${title}
</span>
</span>