浏览TAB键

时间:2011-07-25 12:05:54

标签: html iframe client-side tabindex

我正在研究LAMP应用程序。在我的应用程序中,我正在使用iframe。我想通过 Tab 键浏览我的应用程序。一切都好。但 Tab 选择不会进入IFRAME

是否有人对此有答案

<html>
<body>
<div>
other codes..
</div>
    <div id="main-content1" style="position:absolute;float:none;top:80px;margin-left:170px;width: 830px;">
              <iframe onload="IfarmeOnload();"  style="display:block; margin-left:none;  margin-right:none; width: 100%; height: 100%;" src="<?php echo $home; ?>" id="rightMenu" name="rightMenu"   frameborder="0">
              </iframe>

    </div>



    </body>
</html>

3 个答案:

答案 0 :(得分:2)

是的!它有一个规范,称为WAI-ARIA及其可访问性:http://www.w3.org/WAI/PF/aria-practices/#focus_tabindex

答案 1 :(得分:1)

查看浏览器的文档,了解在帧之间导航的快捷键。

完成后,您应该能够导航到iframe,然后使用 Tab 键进行进一步导航 - 或者如果您的浏览器没有快捷键操作 - 你无能为力。

答案 2 :(得分:1)

嗨,我自己找到了这个解决方案

请看这个

Tab Index on div 问候

相关问题