This PR includes multiple bug fixes in x-gift-article:
Updated the Advance Sharing marketing link
Replaced main tag with div because only one main tag should be present in the page.
Updated the close button of the modal.
Since we don't use o-overlay for the sharing modal, we had to get rid of the o-overlay__close style for the close button.
Created a custom style class and copied the style of the close button from o-overlay so the style of the button does not break in the future when the o-overlay gets updated.
Updated the headings hierarchy and their styles to match the previous design. That change helps screen readers to navigate easily through the modal.
Changes to the copy in modal so that we distinguish between plural and singular for users depending on whether the user has Advanced sharing or not.
Added aria-modal to indicate that the sharing dialog is a modal.
Description
This PR includes multiple bug fixes in
x-gift-article
:main
tag withdiv
because only onemain
tag should be present in the page.o-overlay
for the sharing modal, we had to get rid of theo-overlay__close
style for the close button.o-overlay
so the style of the button does not break in the future when theo-overlay
gets updated.aria-modal
to indicate that the sharing dialog is a modal.Links to the PRs
741
743