-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0] Wrap component output in main
element to make Cassiopeia more accessible
#29870
Merged
Quy
merged 11 commits into
joomla:4.0-dev
from
hans2103:origin/feature/#68-Making-the-Cassiopeia-template-more-accessible
Jul 20, 2020
Merged
[4.0] Wrap component output in main
element to make Cassiopeia more accessible
#29870
Quy
merged 11 commits into
joomla:4.0-dev
from
hans2103:origin/feature/#68-Making-the-Cassiopeia-template-more-accessible
Jul 20, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There are many ways to skin a cat but this certainly works |
I have tested this item ✅ successfully on 6b6c165 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29870. |
I have tested this item ✅ successfully on 6b6c165 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29870. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29870. |
…the-Cassiopeia-template-more-accessible
hans2103
deleted the
origin/feature/#68-Making-the-Cassiopeia-template-more-accessible
branch
July 20, 2020 21:14
dgrammatiko
added a commit
to dgrammatiko/joomla-cms
that referenced
this pull request
Jul 21, 2020
…outs * '4.0-dev' of github.com:joomla/joomla-cms: (612 commits) [4.0] Smart Search: Fixing ordering, order direction and disabled button (joomla#29474) [4.0] Generate routed Modal links for iframes when not on the root (joomla#30007) [4.0] Get menu directly in com_tags menu route helper (joomla#30039) Remove collapse when resizing from mobile to desktop (joomla#30132) [4.0] Wrap component output in `main` element to make Cassiopeia more accessible (joomla#29870) [4.0] Webauthn gmp warning (joomla#29731) [4.0] Refactor to return early, remove if depths and throw NotAllowed (joomla#29694) [4.0] CLI help text (joomla#29811) Feature/draggable typo fixes (joomla#29987) [4.0] Removing unnecessary workaround in finder indexer (joomla#30037) [4.0] Optimizing Smart Search for larger content (joomla#30008) [4.0] Fix js ajax for pre update checker (joomla#29980) [4.0] Cassiopea: Fixing modals custom-select fields display (joomla#30097) [4.0][com_fields] Fix draggable sorting (joomla#30094) [4.0] Correct incorrect @return documentation (joomla#30092) [4.0] Menu items modal: adding missing filters (joomla#30087) short to long php open tags with echo (joomla#30089) Use new Toolbar (joomla#30085) [4.0] Center status/date created headers (joomla#29249) [4.0] Fix Cassiopea searchtools alignment in modals (joomla#30077) ... # Conflicts: # administrator/components/com_templates/src/View/Template/HtmlView.php # installation/sql/postgresql/base.sql # libraries/src/Application/AdministratorApplication.php # libraries/src/Application/SiteApplication.php
sakiss
pushed a commit
to sakiss/joomla-cms
that referenced
this pull request
Oct 16, 2020
… accessible (joomla#29870) * ♿ add landmark contentinfo fo footer of the page * ♿ wrap primary content of the page in landmark main * ♿ add landmark banner to the header of the page * small steps... this pr only focus on main element
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request for Issue # .
Summary of Changes
Landmarks provide a powerful way to identify the organization and structure of a web page.
This PR will wrap the output of the primary content of the page into a
<main></main>
element.Main Landmark
A
main
landmark identifies the primary content of the page.ARIA 1.1 Specification:
main
landmarkDesign Patterns
main
landmark.main
landmark should be a top-level landmark.document
and/orapplication
roles (e.g. typically through the use ofiframe
andframe
elements), eachdocument
orapplication
role may have onemain
landmark.main
landmark, each should have a unique label.You can use both
<div role="main">
as HTMLmain
element to define amain
landmark.I prefer the HTML
main
element.This PR will not change the current look and feel of the Cassiopeia template.
Testing Instructions
Since landmarks are not directly visible for the sighted people you have to use some assistive technology to make it visible. You can use a browser extension to display landmarks:
Actual result BEFORE applying this Pull Request
The Landmark
main
is not present on the website. Screenshot below display the result of the Landmark extension for the Cassiopeia homepage with sample dataExpected result AFTER applying this Pull Request
The Landmark
main
is present on the website. Screenshot below display the result of the Landmark extension for the Cassiopeia homepage with sample data.Documentation Changes Required
No changes required