CSS Grid Expand / Collapse

From Level Access Web Labs
Revision as of 17:13, 19 April 2019 by Bmcneilly (talk | contribs) (Initial CSS Grid Implementation on Labs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sample CSS Grid Implementation

Here's an example of a CSS Grid implementation of a 3 column layout.
The contents of each program's details are programmatically connected to the links that spawn the contents. Additionally, the program contens occur directly after the program within the reading order and the tab order.
Clicking on a program link will toggle the link's aria-expanded attribute, as well as display the relevant program details. Any previously selected programs will be automatically closed.
What this implementation does not do is provide for buttons within the displayed program details.

Apprenticeship Content
Lorem Ipsum

Arts & Media Content
Lorem Ipsum

Automotive Content
Lorem Ipsum

Business & Management Content
Lorem Ipsum

Computer Science Content
Lorem Ipsum

Criminal Justice Content
Lorem Ipsum