-
Notifications
You must be signed in to change notification settings - Fork 344
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
Review toolbar example #539
Comments
This is my first review within the APG; please let me know I'm not following correct review protocol. The toolbar items within the toolbar are |
Job, thank you for the review. This is exactly the kind of feedback we would like. @jkva commented:
Probably because I didn't request it to be done that way when @tatermelon did the original coding work. However, given our overall guidance to prefer native HTML where possible while illustrating important features of the pattern, this is a good suggestion. |
Adding me to review - I have comments on this. |
Accessibility Features
I believe that sentence refers to a second pass into the toolbar. Suggested edit: |
Accessibility Features There seems to be five disabled controls (Tool 1 through Tool 5), not a single disabled control. However there isn't any visual affordance that indicates these are disabled - they just don't do anything. |
No other issues noted. |
Hi @tatermelon -- I'm writing tests for this example right now, and I have two questions about the documentation:
|
Hi @tatermelon -- while writing tests for the other attributes and keys, I also noticed these two inconsistencies with the table documentation:
|
Hey @spectranaut, @mcking65 is the one who wrote the documentation for the examples, so he will know better which is correct. @mcking65 should the example be updated to match the attribute table or should the attribute table be updated to match the way the example is working? |
When focus is on any of the first five buttons, if you press space-bar to activate the button, the default action of the space-bar still happens, and the page scrolls. The buttons have no implemented action and so testing and development didn't explore this far, but in terms of having an example we can send people to that covers all common mistakes, it would good to implement some simple function for the buttons and then illustrate .preventDefault() |
Thank you @SuzanneTaylor, I agree. I've added this to issue #847. |
A redesigned toolbar is ready for review in the issue541-toolbar-redesign feature branch. |
In today's APG task force meeting, Michiel posted some useful images during the discussion about making the pressed state of buttons more visually distinct from the not pressed state.
cc: @jongund |
@mcking65 @jongund I like @MichielBijl's suggestion of making the radio buttons look like "one whole group thing" - this is great to show that they are a radio group and not just a bunch of unrelated toggle buttons. However, it is still hard to glance at the toolbar and know which tools are selected/checked/on. The unselected white #FFFFFF background is just way too close to the selected light-light-gray #F4F4F4 background. I realize these 2 colors don't actually touch because there's a border between them. But I look at that radiogroup and I see 3 whitish-greyish radio button tools, and I have to stare at it to be sure which one is selected. Maybe it's my monitor, or maybe it's my eyes. ;) |
Do you really want bold, italic and underline buttons to have a title attribute or should the title attribute be used for the accessible name instead of aria-label? |
I have made most of the updates required in this issue, except for the title attributes on all the controls. I have added two regression tests, there is some flaw in the roving tabindex test code that has left both Evan and I perplexed. Still trying to figure out what the problem is, but we have two passing tests right now. |
I have moved my work on this issue to the W3C repository branch: You can view the latest version of the toolbar at: |
|
|
On Mon, Dec 17, 2018 at 5:23 PM James Nurthen ***@***.***> wrote:
@devarshipant <https://github.com/devarshipant>
1. The toolbar references the textarea with aria-controls correctly.
The menu button also has aria-controls pointing to its menu as specified in
the menu button pattern.
Got it, thanks. I thought aria-controls was only being used on the menu
button and textarea was the controlled element. On a different note, I am
not sure if JAWS will work properly on the menu button with aria-controls
as it prompts the user (w/ shortcut keys) to the unopened menu. And that
could be a vendor issue.
…
1. No - this is a demonstration of toolbar. It is not a fully formed
text editor.
ok.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#539 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHCQkLbG2z7IJSNESsXVKKWqs2pRgPZLks5u6BlWgaJpZM4QqqsX>
.
|
@mcking65 I updated the copyright information in the JS files |
The redesigned toolbar example is a very significan and great piece of work by @jongund. I think it will be an especially useful reference as it demonstrates how to resolve many integration issues in an effective manner. It appears that it will also help surface quite a few assistive technology support bugs. I’ve now finished my final editorial updates to it so it is, I hope, consistent with our style guide and all the applicable design patterns as well as with other examples. Now it is time for the whole task force to really hammer on it and see if we missed anything important:
This is a rather complex example, so I have assigned five people to do formal reviews in PR #950. Please try to complete your review by Thursday Jan 3 so we have enough time to get a fix in by Jan 8 in the event you find a critical problem. Of course, we welcome reviews from anyone. The more hands and brains on it the better. To make sure we have the browsers covered, it could be helpful if you share with the group what browsers you test with and on which platform. Example page for review and test: Please provide feedback in pull request #950 |
Moving development of regression tests to a separate issue -- #965. |
…#pull 950) completes work to: * Resolve keyboard, aria-disabled, and aria-label bugs listed in issue #847. * Add additional widget types requested in issue #541, including toggle, checkbox, spinner, menu button, radio group, and link. * The above are all issues discussed in toolbar review issue #539. Note: missing regression tests are tracked by issue #965.
@annabbott, @sh0ji, @shirsha, @charmarkk, Does the newly merged toolbar example address this item in the to-do list for this issue?
|
@mcking65 I think so, it's rather evident to me. |
Yep, it looks good to me too. I do have a couple points of feedback, though:
|
All feedback has been addressed or is logged in a new issue. Thank you everyone for helping make the toolbar example so good!! |
Update as of Dec 3, 2018
The toolbar example published in APG 1.1 Release 2 developed for issue #126 has been redesigned to address the issues listed in the below redesign checklist.
Preview new toolbar in feature branch
The redesigned toolbar in feature branch issue541-toolbar-redesign is ready for review and will be merged to master after issues from this review are resolved.
Toolbar Redesign Checklist
The text was updated successfully, but these errors were encountered: