Difference between revisions of "CSS Grid Expand / Collapse"

From Level Access Web Labs
Jump to navigation Jump to search
Line 48: Line 48:
 
     </head>
 
     </head>
 
<body>
 
<body>
<h1>Sample CSS Grid Implementation</h1>
 
 
<p>Here's an example of a CSS Grid implementation of a 3 column layout.<br />
 
<p>Here's an example of a CSS Grid implementation of a 3 column layout.<br />
 
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.<br />
 
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.<br />

Revision as of 17:14, 19 April 2019

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