getgrav / grav-theme-quark

MIT License
64 stars 57 forks source link

Accessibility on menu and page structure #187

Open zamentur opened 1 year ago

zamentur commented 1 year ago

The problem

When a blind persons arrive on a web page in general the person uses TAB to list every link of the main menu.

However, with this quark theme, submenus are not displayed when the button in charge to collapse or uncollapse get the focus. If the person use the ENTER key, it open the first page of the submenu instead of displaying the sublist of link.

The solution

Here i try to make this things working better by those ways:

Status of this PR

The CSS need to be recompiled, i have not tested the fix directly (but on a derived theme) I am waiting some return from a bling friend to completely validate this solution.