domtabs.php

domtabs.php is a Tentative of accessible tabs system, based on CSS with a small bit of CSS.

Inspired from Wendy Ho's pure CSS tabs, domtabs is PHP class allowing to easily create tabs.

Pure CSS tabs are made using hidden radio buttons, connected to labels, which allows to design a tab system using only CSS, avoiding javascript. Unfortunately this won't support keyboard input. For accessibility a bit of javascript was added to support keyboard navigation.

Therefore if javascript is not activated, tabs system will work without keyboard support. When javascript is there, use tab key to navigate to a tab and press enter to display it's content.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Dominique Archambault, Université Paris 8-Vincennes-Saint-Denis, Master Handi, 2020