-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feed Example: Convert images to inline SVG #2729
Conversation
Just happened upon this one - looks like someone's copy-pasting had not been completely finished, and comments still said "HOME", though they clearly were meant to say "END".
Testing that focus moves up, not down.
Testing that focus moves to first, not last element in row.
CONTROL+A is used in this test to select all text in a textarea. But on a mac that key combo does nothing in a textarea. Instead COMMAND+A needs to be used. Copied this solution from `alertdialog_alertdialog.js`.
Apparently this code as-is breaks automatically run tests, possibly because in this test (vs. alertdialog test) we await the results, and I suspect the `Key.COMMAND` doesn't return anything in a non-mac environment. 🤷🏽♀️
0b367aa
to
2084eab
Compare
The ARIA Authoring Practices (APG) Task Force just discussed The full IRC log of that discussion<jugglinmike> Subtopic: PR2729: Feed Example: Convert images to inline SVG by frozenzia<jugglinmike> github: https://github.com//pull/2729 <jugglinmike> Matt_King: We need visual review. I've partially tested with a screen reader using two browsers, but we should probably have additional verification from an accessibility standpoint (mostly the contrast). We also need someone to look at the code <jugglinmike> dmontalvo: I can double-check this with a screen reader in Safari <jugglinmike> Siri: if this can wait until the week of July 10, then I can review visually <jugglinmike> Andrea_Cardona: I can review the code <jugglinmike> Matt_King: Great. You're all assigned. Thank you! <jugglinmike> jamesn: Heads up: I think the high-contrast is not right |
IMO the SVG should recolour based on high contrast mode. It is not currently doing this. |
@jnurthen, alright, I just tried to mimic the existing images. I'll look into "high contrast mode" and try to come up w/better colors. |
@jnurthen, understand your comments better now that I learned what "high contrast mode" even is. Latest commit should fix it if I've understood things right. I don't have a Windows machine to test on, and actually Mac's "Invert colours" does not seem to trigger the media-query (for "forced-colors") I added, but is that okay? It does work as intended if I use Chrome and "Rendering" settings to manually emulate "forced-colors". If I've understood properly, that should then also work for Windows High Contrast Mode. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code change looks good to me.
The ARIA Authoring Practices (APG) Task Force just discussed The full IRC log of that discussion<jugglinmike> Subtopic: Feed Example: Convert images to inline SVG<jugglinmike> github: https://github.com//pull/2729 <jugglinmike> Matt_King: James provided some good feedback to the author, but James is now on vacation. We would like someone to look at this, in particular, high-contrast mode <jugglinmike> Jem: I reviewed it just now, but I didn't review for high-contrast mode <jugglinmike> jongund: I can look at high-contrast mode <jugglinmike> Matt_King: We'd ask Shirisha and Alyssa to review, previously <jugglinmike> Jem: I've assigned you as a review, jongund |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
High contrast mode on windows works great on the inline SVG images.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review looks good
Thank you @frozenzia!! |
Fixes #2628
Possibly also w3c/wai-aria-practices#190 ? Was not clear to me the relation between aria-practices and wai-aria-practices.
Once this is OK, need to remember to deal with issue w3c/wai-aria-practices#225. Again, not sure about the relation, sorry if it shouldn't be mentioned here.
Ah, couple of points.
..., which I did not include / copy for the feed example, as they didn't seem necessary. But supposing that I've misunderstood something, I could be wrong about that.
Preview feed example in compare branch
Preview of feed example display page
Review checklist
WAI Preview Link (Last built on Wed, 28 Jun 2023 07:48:36 GMT).