p {
display: inline;
}
<div>
<p>You may need to etc. etc.</p>
<a href="https://www.google.co.uk" aria-label="View cooie policy (opens in a new tab)">View cooie policy</a>
</div>
When I use the above on a page, and access it via a screen reader (in this case NVDA) it will always read the text in the p
tag immediately followed by the description and text for the a
tag. I'd like them to be read separately, more specifically I'd like the user to need to navigate to the a
element before it is read. Is this possible, and, if so, how can I achieve it?
May be worth noting that they are always read separately for me when the p
is not set to inline