WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Organizational Charts

for

From: Olaf Drümmer
Date: May 6, 2015 2:34PM


Hi Mike,

please check out this (admittedly hacked together) HTML example (just save the HTML portion as an HTML file and open in a decent browser).

Olaf


-----------------------------------



<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<style type="text/css">
#org1{
width: 400px;
height: 200px;
background-color: silver;
padding-top: 30px;
}
#t1, #b1, #b2 {
background-color: #ff7;
margin : 5px;
list-style: none;
width:100px;
height:30px;
display:block;
text-align: center;
padding-top: 10px;
}
#t1{
position:relative;
top:0px;
left:105px;
}
#b1 {
position:relative;
top:25px;
left:-50px;
}
#b2 {
position:relative;
top:-20px;
left:175px;
}
</style>
</head>
<body>
<h1>Org Chart</h1>
<div id="org1" alt="Org Chart - visual graphical presetation from unordered nested list, with some SVG help">
<svg style='width: 400px; height: 200px; position: absolute;' alt="">
<line x1="70" y1="100" x2="200" y2="50" style="stroke:rgb(0,0,127);stroke-width:5"/>
<line x1="330" y1="100" x2="200" y2="50" style="stroke:rgb(0,0,127);stroke-width:5"/>
</svg>
<ul>
<li id="t1">Boss</li>
<ul>
<li id="b1">Secretary</li>
<li id="b2">Driver</li>
</ul>
</ul>
</div>
</body>
</html>




-----------------------------------


On 6 May 2015, at 21:43, "Moore,Michael (DARS)" < <EMAIL REMOVED> > wrote:

> The problem that I have with that approach is that it hides the list structure behind an image, unless I am missing something. So if I need to manipulate the text to make it more readable I don't have an option.