Skip to content

Commit

Permalink
Remove aria-haspopup at dropdown split button primary action
Browse files Browse the repository at this point in the history
ERM31398
  • Loading branch information
DvogelHallowelt committed Dec 15, 2023
1 parent d9dfdaf commit b1571eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/templates/dropdown-icon-split-button.mustache
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="dropdown{{#cnt-class}} {{.}}{{/cnt-class}}">
<div class="btn-group{{#btn-group-class}} {{.}}{{/btn-group-class}}">
<a role="button" href="{{href}}" {{#btn-class}}class="{{.}}"{{/btn-class}}{{#id}} id={{.}}{{/id}} title="{{btn-title}}" aria-haspopup="true" aria-label="{{btn-aria-label}}"{{#btn-rel}} rel="{{.}}"{{/btn-rel}}{{#btn-disabled}} disabled{{/btn-disabled}}>
<a role="button" href="{{href}}" {{#btn-class}}class="{{.}}"{{/btn-class}}{{#id}} id={{.}}{{/id}} title="{{btn-title}}" aria-label="{{btn-aria-label}}"{{#btn-rel}} rel="{{.}}"{{/btn-rel}}{{#btn-disabled}} disabled{{/btn-disabled}}>
<i{{#icon-class}} class="{{.}}"{{/icon-class}}></i>
</a>
<button class="dropdown-toggle{{#split-btn-class}} {{.}}{{/split-btn-class}}"{{#id}} id="{{.}}-menu-btn"{{/id}} title="{{split-btn-title}}" data-bs-toggle="dropdown" aria-haspopup="true" aria-label="{{split-btn-aria-label}}" aria-expanded="false" aria-controls="{{id}}-menu"{{#split-btn-disabled}} disabled{{/split-btn-disabled}}>
Expand Down
2 changes: 1 addition & 1 deletion resources/templates/dropdown-split-button.mustache
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="dropdown{{#cnt-class}} {{.}}{{/cnt-class}}">
<div class="btn-group{{#btn-group-class}} {{.}}{{/btn-group-class}}">
<button {{#btn-class}}class="{{.}}"{{/btn-class}}{{#id}} id="{{.}}"{{/id}} title="{{btn-title}}"{{#btn-data}} {{{.}}}{{/btn-data}} aria-haspopup="true" aria-label="{{btn-aria-label}}"{{#btn-disabled}} disabled{{/btn-disabled}}>
<button {{#btn-class}}class="{{.}}"{{/btn-class}}{{#id}} id="{{.}}"{{/id}} title="{{btn-title}}"{{#btn-data}} {{{.}}}{{/btn-data}} aria-label="{{btn-aria-label}}"{{#btn-disabled}} disabled{{/btn-disabled}}>
<span>{{btn-text}}</span>
</button>
<button class="dropdown-toggle{{#split-btn-class}} {{.}}{{/split-btn-class}}"{{#id}} id="{{.}}-menu-btn"{{/id}} title="{{split-btn-title}}"{{#split-btn-data}} {{{.}}}{{/split-btn-data}} data-bs-toggle="dropdown" aria-haspopup="true" aria-label="{{split-btn-aria-label}}" aria-expanded="false" aria-controls="{{id}}-menu"{{#split-btn-disabled}} disabled{{/split-btn-disabled}}>
Expand Down

0 comments on commit b1571eb

Please sign in to comment.