tabindex and anchors
-
Hi. Can someone help me understand “tabindex” and point me as to how and where it gets set? I have a series of anchors, one for each section of my Twentyseventeen home page. Some anchors land where they are supposed to, and others land after the intended location. When I inspect the page code, the ones that work show tabindex set in ‘panel-content’:
<div class="panel-content" id="noted" tabindex="-1"> <div class="wrap"> <div class="entry-content"> <p><a name="noted"></a> </p> <h2>Noted</h2>
The ones that land incorrectly have tabindex set in the “a” anchor link.
<div class="panel-content" id="video"> <div class="wrap"> <div class="entry-content"> <p><a name="video" tabindex="-1"></a></p> <h2>videoA Video is Worth a Thousand Words</h2>
It seems random from page section to page section. I can’t figure out the differences between how I set the pages up. The on page code is simple and seems the same:
<a name="noted"></a> <h2>noted</h2> [testimonial_view id="2"] <a name="video"></a> <h2>video</h2> [vimeography id="1"]
Thanks in advance. Mike
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘tabindex and anchors’ is closed to new replies.