Current Page Test Case

1,827 Kb

How do I make an current page test case?

Testing aria-describedby as a combined styling hook / accessible name for "current page" links in navigation schema.. What is a current page test case? How do you make a current page test case? This script and codes were developed by Heydon on 27 August 2022, Saturday.

Current Page Test Case Previews

Current Page Test Case - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Current Page Test Case</title> <link rel="stylesheet" href="css/style.css">
<body> <h1>Test case for <code>aria-describedby</code> as a "current page" solution</h1>
<div id="current">current page</div>
<nav role="navigation"> <ul> <li><a href="/" aria-describedby="current">home</a></li> <li><a href="/about">about</a></li> <li><a href="/contact">contact</a></li> </ul>

Current Page Test Case - Script Codes CSS Codes

body { font-family: arial, sans-serif;
h1 { text-align: center;
nav li { list-style: none; display: inline-block;
[role="navigation"] ul { display: table; border-collapse: collapse; width: 100%; padding: 0;
[role="navigation"] li { display: table-cell; width: 1%; border: 1px solid #999999; background: #efefef; vertical-align: middle; text-align: center;
[role="navigation"] a { display: block; padding: 0.7em; color: #2630a6; text-decoration: none; border: 0;
[role="navigation"] a:hover, [role="navigation"] a:focus, [role="navigation"] [aria-describedby="current"] { background: #2630a6; color: #efefef; outline: none;
[role="navigation"] a:active { background: #1d2149;
#current { display: none;
Current Page Test Case - Script Codes
Current Page Test Case - Script Codes
Home Page Home
Developer Heydon
Username heydon
Uploaded August 27, 2022
Rating 3
Size 1,827 Kb
Views 18,207
Do you need developer help for Current Page Test Case?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Heydon (heydon) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!