If you have a link with href attribute and the link contains a header element and other sibling elements such as a span or div - the content within the descendants of the header is not included in the name from content of the link while the text content from other elements are included in implementations of the accessible name calculation. Browser's like Chrome omit this content but some screen readers announce it - so it seems like there is inconsistent implementation of how to handle this situation. It would be good to get clarity on if the text within the header should be used.
If you have a link with href attribute and the link contains a header element and other sibling elements such as a span or div - the content within the descendants of the header is not included in the name from content of the link while the text content from other elements are included in implementations of the accessible name calculation. Browser's like Chrome omit this content but some screen readers announce it - so it seems like there is inconsistent implementation of how to handle this situation. It would be good to get clarity on if the text within the header should be used.