Open kevee opened 10 years ago
How could we test this?
In looking at this and F1, I think this test is going to only have a medium severity level (testability of .5). A process could be:
position: absolute
or margin-left: -500px;
.<ul>
for instance), then that means the positioning is not also placed in the context of a larger structure.Moved to round 2, seems to fit the scope of that milestone better.
We need some additional use cases for this, or is visual columns created with odd positioning the only one?
Well, this a test for a technique, so we should check if the technique 'Positioning content based on structural markup' is used. That means, positioning css is used on html elements that also has a meaning itself like tables, lists, etc. (and not div). So when the stylesheet isn't there, no information is lost as it is tagged with a meaningful html tag. Not sure if I answer your question with this. Positioning seems mostly relevant for lists and tables, as there is the order of appearance relevant. F1 is the failure test, harder to test, and that should test if div's are used, it's still understandable without stylesheets.
Feature branch: https://github.com/quailjs/quail/tree/74-positioning
Create a test for the following WCAG 2.0 technique: http://www.w3.org/TR/WCAG20-TECHS/C6.html The objective of this technique is to demonstrate how visual appearance may be enhanced via style sheets while still maintaining a meaningful presentation when style sheets are not applied. Using the positioning properties of CSS2, content may be displayed at any position on the user's viewport. Using structural elements ensures that the meaning of the content can still be determined when styling is not available.
Tests Procedure