ace-lab / pl-faded-parsons

This contains the Berkeley Faded Parson's element and is designed to be used as a submodule
1 stars 0 forks source link

Accessible Navigation is Captured by Element #28

Open SybelBlue opened 6 months ago

SybelBlue commented 6 months ago

Tabbing through a webpage with a screen reader is blocked by the element, because after a line gains focus the tab key reindents, it does not advance.

Using Enter to advance between blanks loops silently.

SybelBlue commented 5 months ago

Proposal: float only the pl-faded-parsons div to screen-readers by default. On Enter, make all the codelines visible, and hide the div. Then on Esc, revert. This way the codelines can have Tab to indent by default for mouse users that can focus on them directly, and screen readers will not be captured by tabbing/returns.

Potential Issues: