What fresh hell is THIS now? - Patrick Lauke
<main role=“main”>
a good way of marking up a main element?
role=“main”
, as the only browser that would need it doesn’t support the main role anyway!
role=“main”
after all? Or just that the spec is no longer making a comment on what people need to do to support IE?
[Karl Groves, a11y] Keep in mind ARIA roles exist to add necessary semantics for cases where they don’t exist. So, if you’re working in HTML then roles like ‘main’, ‘button’, ‘heading’ don’t make any sense (for new work) because those semantics can be communicated to assistive technologies using existing HTML elements.
But: What about SVG? Maybe “main” is still unnecessary, but there’s no such thing as a button or a heading in SVG.
role=“main”
is in order to support browsers like IE that don’t infer the ARIA semantics from the HTML elements properly.
<div role=“button”>
placeholder
held to the same contrast standard as any other text? Realistically, the placeholder text would be read with a screen reader, so folks using AT would be fine, but for those that have trouble seeing low contrast, it seems like placeholder
needs to be held to that same 4.5:1 contrast ratio. Thoughts?
main
semantics, so it’s not just legacy versions.
input