web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
501 B

  1. # scope
  2. The `scope` scope should be used only on `<th>` elements.
  3. ## Rule details
  4. This rule takes no arguments.
  5. ### Succeed
  6. ```jsx
  7. <th scope="col" />
  8. <th scope={scope} />
  9. ```
  10. ### Fail
  11. ```jsx
  12. <div scope />
  13. ```
  14. ## Accessibility guidelines
  15. - [WCAG 1.3.1](https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships)
  16. - [WCAG 4.1.1](https://www.w3.org/WAI/WCAG21/Understanding/parsing)
  17. ### Resources
  18. - [axe-core, scope-attr-valid](https://dequeuniversity.com/rules/axe/3.5/scope-attr-valid)