A11Y: Improve the header menu "view all" title. (PR #12175)

The title attribute has been used to attempt to provide the link with an accessible name, but the value of the title attribute is “view all” for the link in each of the tabs, and so their purpose is not uniquely identified.

GitHub

Can this be expressed like this: (or are there non-undefined falsy attrs.ariaLabelOptions values that cause problems?)

        icon.properties.attributes["aria-label"] = I18n.t(
          attrs["aria-label"],
          attrs.ariaLabelOptions
        );

@CvX Mind taking another look? I just did a couple of changes.

          titleOptions: { tab },

Just one minor suggestion (had to check if we use this shorthand Object syntax already :smiley:) but :+1: otherwise. :slightly_smiling_face:

          ariaLabelOptions: { tab },