简体   繁体   English

Javascript的tabIndex属性是跨浏览器吗?

[英]Is Javascript's tabIndex property cross-browser?

I had a problem, and this answer solved it. 我有一个问题, 这个答案解决了。 It uses the property tabIndex . 它使用属性tabIndex

Is this property cross-browser? 该酒店是跨浏览器吗? Which browsers support it? 哪些浏览器支持它?

Normally I would use Google for this, but oddly, nothing about this (except w3schools) appeared in my search query , and w3schools is terrible and doesn't show which browser versions are supported, only which browsers. 正常情况下,我会使用Google进行搜索,但是奇怪的是, 我的搜索查询中什么都没有出现(w3schools除外),并且w3schools很糟糕,并且不显示仅支持哪些浏览器版本 MDN doesn't say anything about it either. MDN也什么也没说。

tabIndex is so old, it has been standard since the earliest versions of browsers. tabIndex太旧了,自最早的浏览器版本以来就是标准的。 In fact, it might even have been a part of the first ever HTML spec, although I can't say that for certain. 实际上,它甚至可能已经成为第一个HTML规范的一部分,尽管我不能肯定地说。

Basically, the reason you can't find compatibility tables is because everything supports it . 基本上,找不到兼容性表的原因是因为所有内容都支持它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM