Open mikemai2awesome opened 3 years ago
The widget should use semantic markup and be accessible itself. This is a tool and it has functionalities. It should not be built with <nav> and <a> elements. Instead, it should be built as a menu with semantic <button> for each menuitem.
<nav>
<a>
menu
<button>
menuitem
The widget should use semantic markup and be accessible itself. This is a tool and it has functionalities. It should not be built with
<nav>
and<a>
elements. Instead, it should be built as amenu
with semantic<button>
for eachmenuitem
.<nav>
: https://github.com/pojome/one-click-accessibility/blob/52ef94b53997670697e5c492cad2e45eda39aff2/includes/pojo-a11y-frontend.php#L102<a>
: https://github.com/pojome/one-click-accessibility/blob/52ef94b53997670697e5c492cad2e45eda39aff2/includes/pojo-a11y-frontend.php#L119