Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 85 additions & 0 deletions CodeSnippets/TargetSizeExp.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Target size test</title>
<style>
.container {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.row {
display: flex;
gap: 1px;
}
.column {
display: flex;
flex-direction: column;
gap: 1px;
}
.circle {
width: 100px;
height: 100px;
border: 2px solid black;
border-radius: 50%;
position: absolute;
}
.circle1 {
top: 50px;
left: 50px;
}
.circle2 {
top: 100px;
left: 100px;
}
.circle3 {
top: 150px;
left: 150px;
}
.button {
width: 20px;
height: 10px;
border: 2px solid black;
background-color: transparent;
position: absolute;
cursor: pointer;
}
.button1 {
top: 5px;
left: 5px;
}
.button2 {
top: 15px;
left: 15px;
}
.button3 {
top: 25px;
left: 25px;
}
</style>
</head>
<body>
<button class="button button1">Button 1</button>
<button class="button button2">Button 2</button>
<button class="button button3">Button 3</button>

<p>Circles</p>
<button class="circle circle1" tabindex="0"></button>
<div class="circle circle2"></div>
<div class="circle circle3"></div>
<hr/>
<p>Buttons</p>
<div class="container">
<div class="row">
<button>A</button>
<button>B</button>
</div>
<div class="column">
<button>C</button>
<button>D</button>
</div>
</div>
</body>
</html>
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Accessibility
This repository is to document my hands on learning of Accessibility

Need to [Tool Tip Test](/CodeSnippets/ToolTipTest.html)
[Tool Tip Test](/CodeSnippets/ToolTipTest.html)

[Target Size Test](/CodeSnippets/TargetSizeExp.html)