wai-bad-demo
Updates to WAI Before and After Demo
Updates to WAI Before and After Demo
Updates to WAI Before and After Demo
Suggestion by Lewis Phillips via Email:
It would be nice to have the demo code on their own pages without the
header and footer sections. I use the BAD pages to demonstrate testing
tools including some automated tools and it would be helpful to have an
inaccessible page without some valid code at all. The header for example
has an<h1>
which means that the page would not fail for missing heading
structure. Maybe have a link to open a page that is only the example?
Comment submitted from the EOWG charter review in June 2017 (W3C member link):
The before/after demo was a useful tool, but it is no longer representative of a modern website (it's too simple, too static, and it's based on a plain HTML stack). We suggest that E/O replace it with something more representative of the modern web platform (more interactive, more custom UI, and based on a JS stack).
Suggestion by Lewis Phillips via Email:
On https://www.w3.org/WAI/demos/bad/after/survey.html the focus indication on the Mr. and Mrs. Radio buttons doesn't work. It looks like the CSS rules do not cover this.
I haven't been able to come up with a rule that will work with the nested within the that will work.
HTML:
<p id="namenewsletter" class="input"> <label for="mr">Mr. <input type="radio" name="t" id="mr" value="mr" title="title"></label> <label for="mrs">Mrs. <input type="radio" name="t" id="mrs" value="mrs" title="title"></label> <label for="n">Name: <input type="text" name="n" id="n" size="30" style="margin-left: 0.5em;"></label> </p>CSS:
select:focus, select:active, input:focus, input:active, input:focus + label, input:active + label, label[for]:focus, label[for]:active { color: #fff !important; background-color: #ba2710 !important; }
Under:
Notes, issues
• The content of the demo is layered with accessible, inaccessible, and annotated views; may not be possible to use fully responsive design.
I think we should highlight the difference between a site that is not coded to be responsive and one that is responsive increases the accessibility. Therefore only the "after" site should be responsive to highlight the difference. I imagine that is the intent of the note above but could be re-written to be more specific.
Please ignore this issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.