[英]Tab through disabled=“disabled” button in Internet explorer
This is an issues for accessibility - In chrome, these buttons can be tabbed through, but Internet explorer does not allow tabbing. 这是可访问性的问题-在Chrome浏览器中,可以通过这些选项卡来进行制表,但是Internet Explorer不允许进行制表。 Any suggestions?
有什么建议么?
For w3c accessibility purpose, you can use readonly instead of disabled and remove the onfocus functionality when it is readonly. 出于w3c可访问性的目的,您可以使用只读而不是禁用,并在只读时删除onfocus功能。
Example below: 下面的例子:
ng-readonly="isReadOnly" ng-focus="(isReadOnly) ? '' : onFocus($event)"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.