I have been doing some testing and have noticed when navigating links on iOS using VoiceOver (VO), if the link contains an element that is not exposed as a generic element it causes VO to treat and announce text in the link as separate links.
Example
The link in the example is announced as 3 links it is also counted in the rotor as 3 links.
“Elements with a”, “generic”, and “role are ignored”
<a href="#">Elements with a <code>generic</code> role are ignored</a>
When marked up with an element with an implicit or explicit generic role VO reports the correct number of links via the rotor
This can be avoided by using an element with a generic element such as a <span>
but this appears a little flaky so addition of role="none"
is suggested.
<a href="#">Elements with a <span>generic</span> role are ignored</a> <a href="#">Elements with a <span role="none">generic</span> role are ignored</a>
or adding role="none"
to the non-generic element, which exposes it in the accessibility tree as generic
<a href="#">Elements with a <code role="none”>generic</code> role are ignored</a>
Try it for yourself
See the Pen
Untitled by steve faulkner (@stevef)
on CodePen.
bugged
A bug has been filed on webkit issue tracker
Now Listen
Lyrics
Bellower bellowed who would believe we got pot It's a sign of the times like a cliche, written nonstop Full metal jackets get sprung, tanks that boil in a bag The gunner, stop there's a drop off Hartley hare and Vladimir's got his top off He's got his top off, quick reach for your bits Shit, he's so fit Big banger, number 10 can't gimme that Bruce Banner I got crisis stamina, full marathon, four poo breaks I can feel the shit from your crisis rays Spray up my back, because in England nobody can hear you scream You're just fucked lads This is UK GRIM Keep that desk area tidy Put it in the bin This is UK GRIM This is UK GRIM Keep that desk area tidy Put it in the bin This is UK GRIM Your perceived contradictory and hypocritical fate There's no top five album when you're off the grid, fuck all that I'm not here to please, you mate Liz Truss, conformity The smooth streets in the business quarter Where the white Range Rovers hum They sound lovely, white shirts and lunch bellies Threesomes and wealth measles penetrate the cornflakes I want it all like a crack forest gateau I do drugs in my head so I can still go to bed As I pound the slabs of this dreamscape into X This is UK GRIM Keep that desk area tidy Put it in the bin This is UK GRIM This is UK GRIM Keep that desk area tidy Put it in the bin This is UK GRIM but when it's gone, leave the trails in the mindset But when they come like a dawn raid smashed mindset threat when's it's gone, leave the trails in the mindset But when they come like a dawn raid smashed mindset but when it's gone, leave the trails in the mindset But when they come like a dawn raid smashed mindset This is UK GRIM, put it in the bin This is UK GRIM, put it in the bin This is UK GRIM, put it in the bin This is UK GRIM, put it in the fuckin' bin