diff options
author | Ryan Harris <harrisryan1@gmail.com> | 2017-01-08 23:45:47 +0300 |
---|---|---|
committer | Ryan Harris <harrisryan1@gmail.com> | 2017-01-08 23:45:47 +0300 |
commit | 63f51a747ee1eca51a0fa09401d3c9bf4376678c (patch) | |
tree | 1b345fc44bab60c29503be473003a2f7290533e0 | |
parent | 8ab94120ee0a87c7b1158ebafea101e3952ec758 (diff) |
Made download artifacts button accessible via keyboard
-rw-r--r-- | app/views/projects/ci/pipelines/_pipeline.html.haml | 2 | ||||
-rw-r--r-- | changelogs/unreleased/26446-access-download-artifacts-via-keyboard.yml | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app/views/projects/ci/pipelines/_pipeline.html.haml b/app/views/projects/ci/pipelines/_pipeline.html.haml index aaf1b428178..220543ecc31 100644 --- a/app/views/projects/ci/pipelines/_pipeline.html.haml +++ b/app/views/projects/ci/pipelines/_pipeline.html.haml @@ -89,7 +89,7 @@ %span= build.name.humanize - if artifacts.present? .btn-group - %a.dropdown-toggle.btn.btn-default.build-artifacts.js-pipeline-dropdown-download{ type: 'button', 'data-toggle' => 'dropdown' } + %button.dropdown-toggle.btn.btn-default.build-artifacts.js-pipeline-dropdown-download{ type: 'button', 'data-toggle' => 'dropdown' } = icon("download") = icon('caret-down') %ul.dropdown-menu.dropdown-menu-align-right diff --git a/changelogs/unreleased/26446-access-download-artifacts-via-keyboard.yml b/changelogs/unreleased/26446-access-download-artifacts-via-keyboard.yml new file mode 100644 index 00000000000..83f6233dd88 --- /dev/null +++ b/changelogs/unreleased/26446-access-download-artifacts-via-keyboard.yml @@ -0,0 +1,5 @@ +--- +title: Made download artifacts button accessible via keyboard by changing it from + an anchor tag to an actual button +merge_request: +author: Ryan Harris |