gitlab-org--gitlab-foss/app/views/layouts
Annabel Dunstone Gray 694b55c828 Merge branch '24057-a11y-content-shortcut' into 'master'
Resolve "Create a tab shortcut to jump directly to content"

## What does this MR do?
Adds accessibility shortcut to page, i.e. if user hits `tab` key right after the page is loaded and user has not interacted to any part of the page, the shortcut appears at top left corner of the page. Then, pressing `enter` (`spacebar` support is WIP) scrolls page to focus on content.

## Are there points in the code the reviewer needs to double check?
See if `id` attribute added to `.content` element (present in [_page.html.haml](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/views/layouts/_page.html.haml)) needs to be reviewed if it is correct approach or we already have an ID that shortcut can refer to.

## Why was this MR needed?
This feature is particularly useful for screen readers where user doesn't have to go through entire nav to reach content of page.

## Screenshots (if relevant)
![Screenshot_from_2016-11-17_17-59-22](/uploads/0eb0149f46bd35e9ce629e7a6533be53/Screenshot_from_2016-11-17_17-59-22.png)

## Does this MR meet the acceptance criteria?

- [ ] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added
- [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [ ] API support added
- Tests
  - [ ] Added for this feature/bug
  - [ ] All builds are passing
- [ ] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [ ] Branch has no merge conflicts with `master` (if it does - rebase it please)
- [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?


Closes #24057

See merge request !7533
2016-11-18 01:23:13 +00:00
..
header Add shortcut for SRs to Skip to content for a11y 2016-11-17 19:41:51 +05:30
nav Merge remote-tracking branch 'origin/master' into chat-name-authorize 2016-11-16 16:05:03 +01:00
_bootlint.haml
_broadcast.html.haml
_flash.html.haml Add flash containers and broadcast messages below subnav 2016-10-01 00:21:37 +03:00
_google_analytics.html.haml
_head.html.haml Revert Subresource Integrity pending a fix for Firefox's incorrect hashing implementation. 2016-06-27 07:47:33 -06:00
_init_auto_complete.html.haml Fix 500 error when creating mileston from group page 2016-10-16 15:03:44 +03:00
_page.html.haml Add ID for a11y shortcut href 2016-11-17 19:42:20 +05:30
_page_title.html.haml
_piwik.html.haml
_search.html.haml 24146 Add focus state to buttons and dropdowns 2016-11-08 10:03:17 -08:00
_user_styles.html.haml
admin.html.haml Move admin nav to horizontal layout nav 2016-06-15 09:10:16 -05:00
application.html.haml Loads GFM once for per page 2016-10-14 10:52:48 +01:00
dashboard.html.haml
devise.html.haml Add custom text to column 2016-11-03 12:29:41 -05:00
devise_empty.html.haml Render gon data in the page body, not head 2016-06-06 12:50:31 +05:30
devise_mailer.html.haml
errors.html.haml Render gon data in the page body, not head 2016-06-06 12:50:31 +05:30
explore.html.haml
group.html.haml
group_settings.html.haml
help.html.haml
koding.html.haml Support integration with Koding (online IDE) 2016-08-19 12:10:58 -07:00
notify.html.haml Fix "Unsubscribe" link in notification emails that is triggered by anti-virus 2016-09-20 09:52:57 +02:00
profile.html.haml
project.html.haml Correctly loads gfm autocomplete source on pages where it is required 2016-09-16 10:49:55 +01:00
project_settings.html.haml
search.html.haml
snippets.html.haml