Closed willstocks closed 3 years ago
Added aria-label attribute to the actual button markup, as adding the menu label to the nested span only works if you want to display the label text. If you don't (display: none;) you lose out on accessibility. aria-label fixes this.
span
display: none;
Added aria-label attribute to the actual button markup, as adding the menu label to the nested
span
only works if you want to display the label text. If you don't (display: none;
) you lose out on accessibility. aria-label fixes this.