Skip to content

Commit

Permalink
add aria label to select
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHuynh333 committed Jan 29, 2025
1 parent f7cd92c commit f3869f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/components/nextflow/samplesheet_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
"
data-nextflow--samplesheet-target="pageNum"
data-action="change->nextflow--samplesheet#pageSelected"
aria-label="<%= t(".page_selection.aria_label") %>"
><option value="1" selected>1</option></select>
</li>
<li><button
Expand Down
2 changes: 2 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,8 @@ en:
samplesheet_component:
label: Samples
next: Next
page_selection:
aria_label: Pagination page selector
previous: Previous
processing_request: Processing your request
nextflow_component:
Expand Down
2 changes: 2 additions & 0 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,8 @@ fr:
samplesheet_component:
label: Samples
next: Next
page_selection:
aria_label: Pagination page selector
previous: Previous
processing_request: Processing your request
nextflow_component:
Expand Down

0 comments on commit f3869f7

Please sign in to comment.