Skip to content
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

Add skip navigation / skip to content links for accessibility #10004

Merged
merged 1 commit into from
Jun 26, 2018

Conversation

jancborchardt
Copy link
Member

Add "skip navigation" links according to https://webaim.org/techniques/skipnav/

First tab gets you directly to the main #app-content (skipping both header and left sidebar):
screenshot from 2018-06-26 12-39-03

Second tab gets you to #app-navigation (left sidebar of the app):
screenshot from 2018-06-26 12-39-13

After that it continues in the header through the apps as usual.

Please review @nextcloud/accessibility @nextcloud/designers :)

@skjnldsv
Copy link
Member

Ooh, very clever!!! 👍

@skjnldsv
Copy link
Member

We should create an entry related to the accessibility in the docs!

@codecov
Copy link

codecov bot commented Jun 26, 2018

Codecov Report

Merging #10004 into master will increase coverage by <.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master   #10004      +/-   ##
============================================
+ Coverage      31.7%    31.7%   +<.01%     
+ Complexity    26017    26014       -3     
============================================
  Files          1661     1660       -1     
  Lines         96171    96153      -18     
  Branches       1290     1290              
============================================
  Hits          30490    30490              
+ Misses        65681    65663      -18
Impacted Files Coverage Δ Complexity Δ
core/templates/layout.user.php 0% <0%> (ø) 0 <0> (ø) ⬇️
apps/files_external/lib/Lib/Auth/AuthMechanism.php 100% <0%> (ø) 5% <0%> (ø) ⬇️
apps/files_external/lib/Lib/Backend/SMB.php 0% <0%> (ø) 3% <0%> (-1%) ⬇️
apps/files_external/lib/AppInfo/Application.php 0% <0%> (ø) 4% <0%> (ø) ⬇️
...s/files_external/lib/Lib/Auth/SMB/KerberosAuth.php
apps/files_external/lib/Lib/Storage/SMB.php 1.06% <0%> (+0.01%) 119% <0%> (-1%) ⬇️

@jancborchardt
Copy link
Member Author

@skjnldsv yeah, a section in the design docs where we recommend testing with WAVE, by keyboard, Lighthouse, or Firefox accessibility inspector :)

.buildconfig Outdated
app-id=
postbuild=
prebuild=
default=true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this?

INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that those fonts are not needed for this PR, right?

@jancborchardt
Copy link
Member Author

@MorrisJobke sorry – miscommitted, will fix.

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
@jancborchardt
Copy link
Member Author

@MorrisJobke fixed :)

Copy link

@MarcoZehe MarcoZehe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accessibility bits approved, rest is yours to clean up. :)

@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jun 26, 2018
Copy link
Contributor

@kevgathuku kevgathuku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

@MorrisJobke MorrisJobke merged commit d9d557a into master Jun 26, 2018
@MorrisJobke MorrisJobke deleted the accessibility-skip branch June 26, 2018 14:11
@tyrylu
Copy link
Contributor

tyrylu commented Jun 26, 2018

It is probably too late to comment it there, but should not the texts be put through the translation machinery? The wording is the one i saw everywhere else, however, translating them could be a good idea.

@skjnldsv
Copy link
Member

That is an excellent point!
@jancborchardt

@jancborchardt
Copy link
Member Author

@tyrylu oops, good catch! Will fix tomorrow :) or if you want to open a pull request for it, you are very welcome! :)

@jancborchardt
Copy link
Member Author

Follow-up PR for translation at #10019 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish design Design, UI, UX, etc. enhancement feature: accessibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants