Use percentage values for table sizes |
WAI / WCAG 1.0 Priority 2 checkpoint 3.4
Issue Description The page contains tables that specify width and/or height for rows and/or columns in absolute units rather than relative ones, like percentages.
How to fix For table and table cells sizes use percentage values rather than absolute values. Replace the values in the attributes WIDTH and/or HEIGHT of TABLE, TH or TD elements with percentage values.
Issue Explanation Whenever possible it is best to use relative units. Use percentage units rather than absolute ones for tables' height and width. In this way the visual layout of the page will be "liquid", in the sense that it can adapt to the specific browser being used and the specific screen that supports it. In the specific case of tables, using percentage values has the advantage that the browser user (the website visitor) can resize the entire window at will without affecting the ability to experience the content of the page.