Skip to content

Commit

Permalink
Merge pull request #1473 from projectblacklight/aria-hidden-error
Browse files Browse the repository at this point in the history
 Remove aria-hidden attribute
  • Loading branch information
marlo-longley authored Dec 11, 2023
2 parents 41f14f8 + 7517785 commit 55daec9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
<%= tag.dd(class: @classes + ['truncator'], data: { controller: 'arclight-truncate' }) do %>
<%= tag.div @field.render, class: 'content', data: { arclight_truncate_target: 'content' } %>
<%= button_tag(type: :button, class: 'btn btn-sm btn-link px-0',
data: { action: 'click->arclight-truncate#trigger' },
aria: { hidden: true }) do %>
data: { action: 'click->arclight-truncate#trigger' }) do %>
<%= tag.span t('arclight.truncation.view_more'), class: 'view-more' %>
<%= tag.span t('arclight.truncation.view_less'), class: 'view-less' %>
<%= tag.span(class: 'icon') %>
Expand Down

0 comments on commit 55daec9

Please sign in to comment.