-
Notifications
You must be signed in to change notification settings - Fork 159
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
Transform route titles into real h1's, for #1651 #2162
Transform route titles into real h1's, for #1651 #2162
Conversation
src/Phoenix.vue
Outdated
margin: 0; | ||
} | ||
|
||
.visually-hidden { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is actually already in place visually-hidden mixin - https://github.com/owncloud/owncloud-design-system/blob/0db4c32de7fa12a03de7b6aa0d20f09f11aa9ebd/src/styles/_mixins.scss#L56
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. Will create a utility class for this, using this mixin in the DS, then using mentioned class in phoenix if that's okay.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The corresponding DS PR: owncloud/owncloud-design-system#498
It will establish .oc-visually-hidden
which I'll use here.
src/Phoenix.vue
Outdated
@@ -57,4 +57,18 @@ export default { | |||
height: 100vh; | |||
overflow: hidden; | |||
} | |||
|
|||
.oc-page-title { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this shall also go into the design system from my understanding
src/pages/account.vue
Outdated
@@ -3,7 +3,7 @@ | |||
<oc-loader v-if="loading" /> | |||
<div v-if="!loading" class="uk-width-3-4@m uk-container uk-padding"> | |||
<div class="uk-flex uk-flex-between uk-flex-middle"> | |||
<span class="uk-text-lead" v-translate>Account</span> | |||
<h1 class="uk-text-lead oc-page-title" v-translate>Account</h1> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we get rid of uk-text-lead here as well? The class oc-page-title shall hold all necessary styles for a page title.
And please squash your commits. THX |
Could we get for this the setting in Github that when PR is merged commits are automatically squashed? @DeepDiver1975 @PVince81 |
81d59f9
to
36d4978
Compare
Manually squashed, and moved .oc-page-title to the DS: owncloud/owncloud-design-system#499 |
Manual squashing also forces devs to properly edit their commit messages. The squash button pushes this responsibility to the merger. Which I highly dislike - devs need to submit proper PRs 🤷♂️ |
36d4978
to
daeef95
Compare
@DeepDiver1975 @LukasHirt can you validate this PR ? the requested changes have been addressed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update pls ODS so the visually hidden and page-title classes are in place.
@LukasHirt to whom this is addressed to? |
…g users or groups
…ersOrGroups Acceptance test to assert autocompletion isnt present for non-existin…
Acceptance test to create hidden file
Moved few PRs to different sections Removed tests from changelog Removed last tests items Changed wording of ie 11 tests
Adjusted changelog and version to 0.2.5
Add skip to component, id attribute for <main>
…nal-storage Hide quota on external storage
Refactor filesPage page-object for assertion management
Bumps [owncloud-design-system](https://github.com/owncloud/owncloud-design-system) from 1.0.0-1007 to 1.0.0-1030. - [Release notes](https://github.com/owncloud/owncloud-design-system/releases) - [Commits](https://github.com/owncloud/owncloud-design-system/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Add acceptance test to filter files and folders using keyword in the files page
…ud-design-system-1.0.0-1030 Bump owncloud-design-system from 1.0.0-1007 to 1.0.0-1030
…les-list Bugfix/no checkbox label in files list
@marcus-herrmann please rebase and I think all will already be up to date as the ODS was updated on master already a while ago. Then I think we can merge this. Thanks! |
Rebase went wrong, sorry. To not make it worse by trying to fix it, opening new PR: #2681 |
💥 Acceptance tests Account failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/7144/
|
💥 Acceptance tests Account failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/7143/
|
💥 Acceptance tests SharingPermissionsUsers failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/7143/
|
💥 Acceptance tests iPhone failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/7144/
|
💥 Acceptance tests SharingPermissionsUsers failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/7144/
|
💥 Acceptance tests iPhone failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/7143/
|
💥 Acceptance tests Trashbin failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/7143/
|
💥 Acceptance tests SharingAutocompletion failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/7144/
|
💥 Acceptance tests Resharing failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/7143/
|
💥 Acceptance tests SharingAutocompletion failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/7143/
|
💥 Acceptance tests Trashbin failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/7144/
|
💥 Acceptance tests Resharing failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/7144/
|
Description
Transformed spans the held the page title to actual h1 elements. In the case of the file list a h1 is existing for accessibility reasons, but can only be perceived via a screen reader (is "visually-hidden").
Related Issue
Motivation and Context
Screen reader users navigate by large extent by a documents or web apps headline structure. At least one level 1 headline should exist to make the pages (routes) purpose, content or function clear.
How Has This Been Tested?
work in progress
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: