The FavoriteButton is missing some accessibility attributes on the <button> element:
- aria-role="button"
aria-labelledby on the button, pointing to the child oo-ui-labelElement-label element, which needs to be updated to contain the (already invisible) label.This is not actually required, per MDN: "the accessible name for a <button>, <a>, or <td> comes from the text between the opening and closing tags." So as long as we add a label, this will be accessible.aria-pressed attribute because it's a toggle button.Shouldn't be used if the label is dynamically changed.