[caesar] Q: how does everyone deal with the WCAG recommendation to provide warnings when links open in a new tab or window, when clients ask what conformance level it belongs to? Techniques G200 and G201 are attached only to Guideline 3.2, which is not a success critieria, and therefore has no conformance level.
[jaredsmith]@caesar These aren't associated to success criteria because they're just general recommendations, not WCAG 'requirements'. Failing to provide this warning is not a WCAG failure.
[andrewmacpherson]@caesar G200 relates to SC 3.2.5 Change on request, where it is listed in the "Additional Techniques (Advisory)" rather than sufficient techniques.
[andrewmacpherson]@caesar Also see example 2 in F22 : " A user clicks on a link, and a new window appears. The original link has no associated text saying that it will open a new window". https://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20161007/F22
[andrewmacpherson]@caesar F22 is listed as a common failure of SC 3.2.5, which is level AAA.
[shannon] thanks so much! my question is on a very basic level - i’m wondering if there’s a sort of stylesheet that dictates how whether to use () or [] for environmental sound, dashes for speakers of camera, etc
[sethkane] What is best practice for virtual cursor usage with screen readers around WAI patterns like this " i.e., Tab and Shift + Tab do not move focus outside the dialog. However, the window under a modal dialog is typically inert; users cannot interact with content outside the dialog window." It is easy to control the tab and shift tab but I am not sure we can or even should control the virtual cursors of screen readers? Thoughts???? #aria-patterns #screen-readers
So how come if you give focus to an element with position fixed it will make the page jump so that the beginning of the element has focus, but the same is not done for absolute or relative elements?
[caesar] Q: a client has created a section of information (including links) and given the parent <div> role="button". This is causing every element beneath it to read "button" because presumably they are inheriting the button role. What is the correct way of implementing something like this?
[alice] The pattern assumes you have a "heading", which you don't
[alice] I wonder if you could do some trickery where the "flightSummaryBox_main" becomes the "heading"/toggle button, and you could add some extra info into the alt text on the image in there
[alice] sorry - I mean _mainImage
[caesar] Yeah, it definitely requires trickery of some sort. VO for example, takes the button role literally and every child element assumes the role of the parent, reading the entire panel contents as the accessibility text
[alice] argh
[alice] yeah you could make that image the "heading", and style the focus ring around the full row by hand
[alice] It seems like so much a11y craft is figuring out how to express novel UI in terms of familiar UI patterns from the 90s
[caesar] Indeed. Or trying to convince developers not to use novel patterns when the familiar ones from the 90's are perfectly adequate (and possibly better). Haha....
[caesar] E.g, the usability of this one is arguable, considering one has to understand that there are separate, smaller clickable regions inside the bigger one.
[caesar] I've been doing a lot of airline stuff lately, and in theory that section alone should read "Outbound flight on Air China, departing Sydney at 12:25pm, arriving in Hong Kong at 11:00am" so it would be better to have an invisible accessibility text as the heading and just make that whole thing role="presentation"
[alice] this is less of an accordion and more of a disclosure widget for each thing
[alice] with the "flight details" being the accessor for the disclosure widget
[alice] I think you could get rid of the button role on the whole div altogether
[alice] then the click listener on the flightSummaryBox div becomes essentially just a huge click target for the "flight details" link/button
[caesar] Interesting... getting a bit beyond my ken, but I'll pass that along to the devs and see what they think. Really appreciate the help and the deep dive!
[alice] I hope it was of some use :) I'll be frank, I'm jet lagged and procrastinating on "real" work :p