Several screen-readers JAWS 10.0.1154 on FF3.5, JAWS 6.00.410 on IE6, and VoiceOver 10.5.7 on Safari 4.0.1 do not recognize that the "Show items" toggle is actionable.
"Show items" is not particularly descriptive text for an actionable element. What "items" will be shown?
Also, as the items are already "shown" then perhaps the text should read "Hide items" when the items are visible and "Show items" when they are hidden.
Recommendations:
1. Make "Show items" a anchor and not a "clickable" element.
2. Provide more descriptive link text for "Show items".
3. Toggle "Show" and "Hide" based on the visibility of the items being shown and hidden to provide a more accurate description of what action will be performed.
Comment | File | Size | Author |
---|---|---|---|
#80 | 540282-toolbar-disabled-menu-80.patch | 1.01 KB | David_Rothstein |
#79 | 540282-toolbar-disabled-menu.patch | 1.16 KB | mgifford |
#75 | 540282-toolbar-accessibility_17.patch | 8.48 KB | mgifford |
#70 | 540282-toolbar-accessibility_16.patch | 8.48 KB | TheRec |
#68 | 540282-toolbar-accessibility_15.patch | 8.07 KB | TheRec |
Comments
Comment #1
Everett Zufelt CreditAttribution: Everett Zufelt commentedWhen using "Show items" in the issue description I meant to use "Show shortcuts". What shortcuts will be shown?
Comment #2
TheRec CreditAttribution: TheRec commentedThis patch should address the issues you described. I tested with an open source screen-reader (NVDA) and also with a Firefox extension (Fire Vox. Using navigation I could access the item and use it with the keyboard.
Sorry, I cannot test with JAWS at the moment, my usual test environement is not working right now :/
The screen readers which use the HTML source code before Javascript processing will not see the toggle, I do not see how this could be a problem because they would not be able to use its functionality, but if you have solutions to this issue, tell me... we cannot just put this toggling element in the toolbar.tpl.php as it was the case, otherwise users without Javascript would see it but not be able to use it, this way Javascript is unobtrusive.
Hopefully, the work that will be done here won't be destroyed by the new concept in the works in #555712: Toolbar collapsing is inefficient, but whichever of those issues makes it in the core first will have to be inspired by the other. I do not believe that usability is more important than accessibility (or the other way around), so I will work on both whenever I find the time, and at some point we'll have to "merge" them obviously.
Comment #3
Everett Zufelt CreditAttribution: Everett Zufelt commented@TheRec
Thanks for rolling this patch.
I'm not sure what I may be doing incorrectly. But, I applied this patch to clean head and cannot find the "Hide shortcuts" link with NVDA 0.6p3.2 or JAWS 10.0.1154 on FF 3.5, or VoiceOver 10.5.7 on Safari 4.0.1.
Instead of using the Hide / Show text as the link text for the anchor, would it be possible to use it as the title attribute of the anchor element? Or, perhaps removing the text indent and using class="element-invisible" for a span within the anchor?
Comment #4
TheRec CreditAttribution: TheRec commentedThe HTML element is placed above the main menu of the toolbar, so you place the cursor on the "Content" link...and use
<Shift>+<Tab>
to get the focus on that anchor... it's not easy, and might not show up in link list of the screen-readers because they usually build it with the HTML code when DOM is ready (as far as I know), before Javascript processing. As I said, I do not see how we could do it another way than adding this element with Javascript, having an empty element directly in the HTML code (as it is the case right now in HEAD), just for this purpose make that Javascript code obtrusive and the direct consequence is to show an element that is not usable by users who have Javascript disabled.About using "title" attribute, I thought about it at first, it would also provide a tooltip for users, but the problem I had with this is I was not sure whether it is really advised to use only "title" and not the text of the anchor. What I am sure is that repeating the text of the anchor in "title" attribute is not a good thing for accessibility. If we use only "title", according to my test, in IE6 the link will not work (it cannot get a valid focus when using
<Tab>
navigation) unless there is a text for the anchor, so this won't be the solution unfortunately :(The
<span class="element-invisible">
could theorically work, so I tried to implement this solution, but IE6 has the same problem, if the text of the anchor (even inside a<span>
) is not visible, the link cannot be used... so this isn't the solution either... we will have to stick to the text-indent in my opinion... this should not be a problem for screen-readers as far as I know.I know the link I've just gave says the opposite, but after all, maybe this is one of the rare cases where we should repeat the text of the anchor in the "title" attribute, as it seems to be the only solution that is the most compatible. What do you think ? I've implemented this in the following patch, could you test again ? With this solution, with NVDA and FF 3.5 you should be able to test it also with your mouse (in addition of
<Tab>
navigation).Comment #5
mgiffordPatch applies nicely.
I'd like to have a solution that uses the element-invisible class, but perhaps this is not an option here. Not sure if the IE6 error you mentioned is a concern elsewhere.
Where is a good place to look for the "Show shortcuts" link. Is there a generic URL you can point us to to find the text and review it?
Comment #6
TheRec CreditAttribution: TheRec commentedmgifford: I did not find any way to use element-invisible without degrading accessibility even more unfortunately.
Gábor Hojtsy suggested to make the toggle element available even for users without Javascript, this sounds like a good idea so I implemented this. The link should now appear in the link lists of some screenreaders, it is not added through Javascript anymore (as it was in my last two patch) so this improves accessibility and avoid leaving users without Javascript with a broken interface.
Comment #7
mgiffordAhh.. Labeling toggle in top right.. Makes more sense now..
Applied patch. Worked well.
Attached screenshot with firebug output.
So anything else need to be done or verified before it's ready to be committed?
Comment #8
TheRec CreditAttribution: TheRec commentedmgifford: Did you test without Javascript... on various pages ?
Before setting this RTBC it would be better to get 2 other reviewers/tester ... and also get someone to review for coding standards :)
By the way, it adds few functions and thus this should happen before code freeze.
Comment #9
mgiffordJust now I tested without Javascript. I also just tested it on Safari, Opera & Chrome for the Mac. All worked fine.
What other functions have you added to the code? The coder module doesn't hit the javascript as far as I'm aware.
Comment #10
Everett Zufelt CreditAttribution: Everett Zufelt commentedI applied the patch in #6. The link is not accessible (I can't find it) with VoiceOver 10.5.7 / Safari 4.0.1, JAWS6/IE6, and JAWS10/FF3.5
Not sure why this is happening as all three setups should find a anchor added with JQuery
Comment #11
TheRec CreditAttribution: TheRec commentedI do not know what you are doing, the link is now back in the HTML and works as any other link in the page, it is not added through Javascript in #6... so unless it is a CSS issue, but as far as I know we are not using display:none;, but text-indent.
Did you clear the cache or resubmit the "Appearance" form after applying the patch ? It now uses a new theme function and the theme registry should be rebuild with either way.
Comment #12
Everett Zufelt CreditAttribution: Everett Zufelt commentedMy bad, I forgot to reset the cache before testing.
The link is visible and actionable with the three screen-reader/browser combos I tested.
Safari/VoiceOver - works properly
FF3.5/JAWS10 - Must refresh the virtual buffer after clicking hide content for it to appear hidden
IE6/JAWS6 - Nothing happens when the link is clicked.
1. Can you please explain how the shortcuts are being hidden?
2. Is it possible as part of this patch to provide a heading (perhaps using .element-invisible) for the shortcuts?
Comment #13
TheRec CreditAttribution: TheRec commentedI use the exact same solution that is used when Javascript is enabled (store the state of visibility in a cookie and set the CSS classes accordingly), but I handle it on server-side... the toggle link points to the path "toolbar/toggle" which calls a page callback (toolbar_toggle_page()) that does what's described in the comments ;) (toggle the cookie value and redirect the user from where is was coming when clicking on the toolbar). Then the CSS classes are set on various elements according to the state of visibility, while rendering the page.
When Javascript is enabled, this page is not called (we disable the link action with Javascript). Everything can be done on client-side with Javascript, so this "toolbar/toggle" page is just a fallback for users without Javascript.
If your question is how they are hidden with the appropriate CSS class ("collapsed"), see this code :
And this is not a problem because we do want to hide them from the user (whether he is using a screen-reader or other assistive technologies) because it's the purpose of the toggle element. To show them we do not apply this CSS class and everyone can see them again.
I added the heading, I chose to load the menu and use its title as the heading text to be consistent with the administration interface. It is hidden with the "element-invisible" CSS class.
Comment #14
TheRec CreditAttribution: TheRec commentedOh... and this should be updated... seeing the extend of changes we are doing ;)
Comment #15
mgiffordOk, I applied the patch to the latest version of the CVS and it worked fine.
I'm running a copy of the site here - http://drupal7.dev.openconcept.ca - with critical accessibility fixes in it. It's mostly this list here - http://openconcept.ca/blog/everett/final_stretch_help_needed_for_drupal_...
Comment #17
sun.core CreditAttribution: sun.core commentedComment #19
mgiffordthink head's working now.
Comment #20
TheRec CreditAttribution: TheRec commentedWell I think the patch is broken... Here's a re-roll :)
Comment #21
mgiffordOk. I tried that and it broke.
patch -p0 < 540282-toolbar-accessibility_5.patch
patching file modules/toolbar/toolbar.css
patching file modules/toolbar/toolbar.js
patching file modules/toolbar/toolbar.module
Hunk #1 FAILED at 21.
1 out of 3 hunks FAILED -- saving rejects to file modules/toolbar/toolbar.module.rej
Rerolled it again.
Comment #22
TheRec CreditAttribution: TheRec commentedWelll we don't need the debug code here ;) ...and there was a minor commit that might make this again out of sync... so here a re-roll.
Comment #23
mgiffordOops. Thanks for re-rolling.
Comment #24
Everett Zufelt CreditAttribution: Everett Zufelt commentedTested patch in #22
FF3.5 / JAWS 10.0.1154 and NVDA 0.6p3.2 - Works as expected, JAWS requires a refresh of buffer to hide shortcuts, but this is a JAWS bug.
IE6 / JAWS6 - Clicking on the show link toggles the text of the link but doesn't toggle the visibility of he shortcuts
IE6 / NVDA and JAWS10 - clicking the show toggle link does nothing.
Safari4 / VoiceOver 10.5.7 - works as expected.
Comment #25
TheRec CreditAttribution: TheRec commentedThanks for the feedback Everett.
I could only test the IE6 / NVDA configuration, I clicked and also used TAB navigation (+ Enter) to toggle it and it works (when navigating to the place where shortcuts are supposed to be, they appear... and when they are hidden, they are skipped and the focus is directly on the site title, if you're on the homepage), with or without Javascript enabled. The toggle is now a simple anchor, which points to an URL that toggles the visibility of the shortcuts in the cookie and redirects you where you've came from, so without Javascript I do not see how it could not work.
Maybe I am not testing the right way, could you describe what you did exactly to test it, what you expected and what happened instead ? What do you mean by "does nothing" ?
Also, did you make sure to clear your browser cache in addition of Drupal's cache ? If the script is not updated and you have Javascript enabled, it could be the cause of the problem too.
The following patch only changes the position of the toggle in the flow of the page, right now the toggle is the first element of the toolbar which might be good, but when you use it with Javascript enables it forces you to navigate with TAB through the while main menu. With this change, when you toggled with Javascript enabled, the next time you hit TAB you end up directly on the toolbar... it makes sense to me to keep those elements close, if you think it is not a good choice please tell me why. It has no impact on the visual display as this element has an absolute position.
Comment #26
mgiffordI tested this patch and it seemed to have no negative visual effects.
The main difference between these patches is to move the toolbar_toggle down to the bottom of this list?
Think it needs an accessibility review to see if it is more visible for everyone.
Mike
Comment #27
TheRec CreditAttribution: TheRec commentedYes, to me it seems logical to keep the toggle and the shortcuts close... when using Javascript and TAB navigation, once you've reached the link right before the shortcuts, which is the toggle, if you use it to show the shortcuts then the following links are directly the shortcuts ... if you hide them, then the shortcuts are skipped when you press TAB to reach the next link on the page. Before this change, when you had just used the toggle, you had to go through the whole toolbar main menu links (Content, Structure, etc.) before reaching the shortcuts... and at that point you wouldn't have a single clue if the links are shortcuts or not. Also because the back then the shortcuts menu did not have a #heading...but that is fixed in this same patch (see comment #13)... anyways having them closer to each other improves the usability of it when usingTAB navigation.
It's less "visible" because it's not the first element of the toolbar anymore... but it's more visible when you use it.
Comment #28
Everett Zufelt CreditAttribution: Everett Zufelt commentedI applied the patch in #25 to clean head. The following are my comments, some may be repeated from above, but I think it is useful to have them all in one place.
1. It would be good to have an heading "Administrative Toolbar" before the toolbar.
2. I find it strange that in DOM order the links "Hello admin" and "logout" are between the toolbar and the shortcuts.
3. The heading that comes before the shortcuts "Administrative Shortcuts" should maybe be changed to "Toolbar Shortcuts" so that it is consistent with "Show / Hide toolbar shortcuts"
Functionality.
FF3.5/JAWS10: Hide/Show work, although sometimes it is necessary to refresh JAWS buffer (bug with JAWS).
FF3.5/NVDA 0.6p3.2: Works as expected
IE6/NVDA 0.6p3.2: Nothing changes when clicking "hide shortcuts" not even the link text changes.
IE6/JAWS6: Link text toggles from Hide to Show, but shortcuts do not disappear, even with refresh of JAWS buffer.
Safari4/Voiceover 10.5.7: Works as expected.
So it looks like the issue here has something to do with IE6.
Comment #29
TheRec CreditAttribution: TheRec commentedOk, about the heading, I agree that we could put one for the main menu of the toolbar. About changing the one for shortcuts, right now I coded it to use the menu name, so if the menu name changes, the heading changes, which I think is consistent. So I decided to change the toggle name instead, which will make it more consistent. This required to add a 'setting' variable with drupal_add_js() to let Javascript know the name of this menu (that is the cleanest way I think... I could also use the text of the anchor and replace "Hide" by "Show" and the opposite when toggling...but that sounded dirty). By the way, the code of Javascript toggling could be shortened a lot, but it is not the scope of this issue, I think I will fill another issue when this one is done to improve this a bit ;)
You find the place of
"Hello <username>"
wrong, where would you see that ? With the current code, without changing all the template of the toolbar, the only possible solution is to put it in first place, so I placed it this way now... It could be logical to have this first as we are greeting the user, but it might be annoying for users to have these links first on each page (usually I prefer to offer the navigation first... not Logout link). So the flow of the element is now : user menu -> main menu -> toggle -> shortcuts ... tell me if it's what you expected.I could not reproduce the problems you encounter with IE6/NVDA 0.6p3.2. When I use the toggle with or without the Javascript the shortcuts show and hide as expected, the title attribute is updated and the text of the anchor too... I confirm that the change is not announced to NVDA in IE6, but if you navigate through links again the text has changed, so I'd blame IE6 for not pushing this change to NVDA (since it works fine in Firefox). I've done my best to inform the user and in modern browsers this information is pushed to the screen reader.
If you feel this is not the fault of IE6, and that my code is at fault, please, as I asked before, could you describe every action you executed to test the functionality (the way you use to reach the toggle link, key pressed, status of Javascript, etc.), so I can reproduce and eventually fix the problem, providing this is not due to this old browser (yes I know... it is pretty popular for users with disabilities, because of JAWS support, unfortunately).
About JAWS still seeing hidden shortcuts, that might be a feature of JAWS that still show anchors which are in a container hidden with "display: none;". I tried to hide them by adding "visibility: hidden" for the container now, it is supposed to work but I do not have JAWS, so I let you test it.
Comment #30
TheRec CreditAttribution: TheRec commentedComment #31
mgiffordI tested this patch and it seemed to have no negative visual effects.
Comment #32
Everett Zufelt CreditAttribution: Everett Zufelt commented@TheRec
The DOM order of elements in the most recent patch (comment #29) is great, and adding the menu name from the shortcuts menu to the toggle link is very helpful.
The Show / hide shortcuts link is working properly in FF3.5 9(JAWS and NVDA), Safari / VoiceOver and not impeding accessibility in IE6. I would say the IE6 / JAWS issue is a JAWS issue and not sure about the NVDA issue in IE6. I'm quite happy to say that this is because of the technologies used, and not the code. As the broken shortcut visibility toggle link in IE6 does not regress functionality I am happy to mark this RBTC
Comment #33
TheRec CreditAttribution: TheRec commentedI see that re-roll will be needed now that #555712: Toolbar collapsing is inefficient was committed :) In that other issue, the accessibility was "quick" fixed by adding the toggle through Javascript (to avoid presenting an useless toggle when Javascript is not available), which should be removed now that I implemented a server-side toggle which does not rely on Javascript. This is why the toggle is added again in the
toolbar.tpl.php
and the Javascript to add the toggle has no reason to exist anymore (all this was explained in here, but I am just explaining the changes in this re-roll). There is no change in functionality, I leave this RTBC, if anyone notices a problem, please feel free to set it CNW.Comment #34
TheRec CreditAttribution: TheRec commentedA "," was missing here... just a minor correction.
Comment #35
Everett Zufelt CreditAttribution: Everett Zufelt commentedTested newest patch, still seems to be wroking well.
Comment #36
mgiffordLatest patch nicely, doesn't seem to affect the visuals of the site.
Comment #38
TheRec CreditAttribution: TheRec commentedWell... that doesn't sound right, at least not locally.
Comment #39
TheRec CreditAttribution: TheRec commentedSeems ok... must have been a bot failure... restoring the status.
Comment #40
webchickThis will need a small re-roll now that #555712: Toolbar collapsing is inefficient was rolled back. Sorry for the inconvenience. :(
Comment #41
TheRec CreditAttribution: TheRec commentedIndeed... I wish we could implement those changes before #555712: Toolbar collapsing is inefficient gets another patch, but I am not sure this will be useful, I do not know the extend of the changes that are "planned" for the toolbar (stuff like hover toggle, which are not accessible or other stuff like that).
If you compare the patches, the only difference with the one in #29 is the comma added in #34 ... so I don't think you need to re-re-(re?)-view this ;)
Comment #43
TheRec CreditAttribution: TheRec commentedComment #44
TheRec CreditAttribution: TheRec commentedSilly bot.
Comment #46
TheRec CreditAttribution: TheRec commentedNonsense (I'm "so" surprised ... test bot #44 ... again), it works locally... only a bit of offset/fuzz when applying, but I'm tired to re-roll this... it has been sleeping for so long as RTBC... I won't waste my time on this unless it gets some attention.
**EDIT (after tests passed)** Surprise, surprise... :P
Comment #47
webchickLooks good overall. Some minor documentation glitches and some questions.
The PHPDoc here does not match the function signature. Which is good, because $collapsed makes a heck of a lot more sense than an associative $element array containing one arbitrary property. ;P
If the...?
Just a question: why not use the converted name throughout then?
This review is powered by Dreditor.
The PHPDoc here does not match the function signature. Which is good, because $collapsed makes a heck of a lot more sense than an associative $element array containing one arbitrary property. ;P
If the...?
Just a question: why not use the converted name throughout then?
Why did you pull theming flexibility away from the template file here? Because of the extra logic involved in deciding what classes to show? If so, could we not just make that a variable that's printed like other (print $shorcut_classes or similar)?
As it is, a themer now needs to start monkeying in the renderable array to change any basic styling, such as the heading level, or adding additional classes to the surrounding code.
I'm on crack. Are you, too?
Comment #48
TheRec CreditAttribution: TheRec commentedThank you for the review.
theme_toolbar_toggle()
PHPDoc will be fixed in the next patch._toolbar_is_collapsed
PHPDoc will be fixed in the next patch.$.cookie
, so there is surely not standard yet). If it has to change, please give me directions on the standards to use.<div class="toolbar-shortcuts clearfix">
element in the template file, we would risk the themers to remove or change this CSS class, which will break the collapse/expand functionality. If it is acceptable, please let me know, I'll use the solution you suggested to add the "collapsed" CSS class (or not, when it is expanded).Comment #49
TheRec CreditAttribution: TheRec commentedAbout 4., where should this variable for CSS classes for the shortcuts div would be placed ? Right now themeing seems pretty limited for toolbar, as there is no theme function (except the one my patch would add) and preprocess functions are not used directly. We are using
function toolbar_page_build(&$page) {
which is an implementation ofhook_page_build()
to add all the variables accessibles in the template which by the way are passed through "render" (so to modify anything, themers already need to ). So If I add a variable where would it have to be stored ? A preprocess function ?Comment #50
TheRec CreditAttribution: TheRec commentedHere's a possibility... if it fits, then we should have only the name of the cookie do discuss (if necessary).
Comment #51
mgiffordLooks good. Applies nicely. Thoughts on a cookie name? Could just toss it in a session variable that might be easier to implement in core.
I've applied it here - http://drupal7.dev.openconcept.ca if folks want to set up an account and review it.
Comment #52
TheRec CreditAttribution: TheRec commentedIt was already done with a cookie before, I did not introduce this, so I won't change this behavior in this issue, which aims to improve accessibility. But yes it could be done with a session variable... but we'd loose the advantage of it being persistant accross sessions (which is introduced in #555712-72: Toolbar collapsing is inefficient. The current question is should we use another variable name, as the one with dots
Drupal.admin.toolbar.collapsed
set with Javascript (or with PHP) can be read only with$_COOKIE['Drupal_admin_toolbar_collapsed']
in PHP (it is due to a limitation of PHP variable names (it is documented in PHP manual, I don't see how it is a problem to follow this, specially when I add a comment to explain it).Comment #53
seutje CreditAttribution: seutje commentedI typed up a big reply the fact that $collapsed is coming in as an array in the theme function, causing the if clause to always return true and some concerns about absolute px values and other dodgy css, but d.o decided to log me out while typing it and now it seems I lost it all... I'll try to find the motivation to type all that once more -_-
Comment #54
TheRec CreditAttribution: TheRec commentedI don't see how
$collapsed
could end up being an array with the current code... and I do not see any CSS modification (except that we changed the<span>
for a<a>
) so yeah I'd be interested in your "big reply" ;)Comment #56
seutje CreditAttribution: seutje commentedI couldn't figure out why it was popping in as an array either, and I never said this patch introduced CSS changes, I'm saying it should
although there are also a bunch of css cleanups necessary which aren't accessibility related, guess I should do that in a separate issue
Comment #57
TheRec CreditAttribution: TheRec commentedAs I thought (that's why I asked for a retest)... it needs a re-roll because of #511286: D7UX: Implement customizable shortcuts.
So here it is, but there are few things that changed :
theme_toolbar_toggle()
function now uses only one paramater... @seutje My bad if I sounded sceptic about it, but the change is not yet documented and pretty fresh :)@seutje: Waiting for your input on
.Comment #58
TheRec CreditAttribution: TheRec commentedCross posting I think ;) So we're clear on the $collapsed as array :)
Yeah CSS issues not accessibility related should go in another issue... and yes those ugly IE hacks must surely haunt the one who put them him (it's not me :P)...
While I'm at it, I set the status so the testbot can do its duty ;)
Comment #59
seutje CreditAttribution: seutje commentednice, so that's why it was suddenly coming in as an array, my apologies if I made it seem that this was introduced by this patch, I guess my timing was just horrible :P
opened #607682: Clean up the mess that is toolbar.css and will get on that today (will include removing the fixed height in there as we discussed on IRC last night)
Comment #60
mgiffordPatch applied nicely. I can confirm that 'Close the drawer' & 'Open the drawer' was a visible link in the dom.
I'd like to see some more work to define in a bit more detail why changes were added to toolbar.module.
Comment #61
TheRec CreditAttribution: TheRec commented@mgifford: Well the "drawer" was introduced with new shortcuts... it was introduced in #511286-150: D7UX: Implement customizable shortcuts, because shortcuts can be used in other places than the toolbar, that is why the modules are separated and independant (or should be at least, I did not read all their code so I can't promise they already work completely independantly).
Comment #62
mgiffordOk, so @seutje & I have looked over the code and installed it. I think it might need to get a better review though before it can be marked RTBC.
Are there others who can pick through the code?
Comment #64
TheRec CreditAttribution: TheRec commentedI have no problem with this patch locally. So I guess it was a glitch on test bot's behalf. Let's retest.
Comment #66
TheRec CreditAttribution: TheRec commentedReally ? Same bot... and we're not touching anything in the update module as far as I know.
Comment #68
TheRec CreditAttribution: TheRec commentedSeems like another change occurred in the hook_theme ... This should fix the problem with the current patch, I updated the function header comments.
Comment #70
TheRec CreditAttribution: TheRec commentedRe-rolling, just for whitespace... thanks #606526: [Needs rollback] Remove trailing whitespaces and add newlines at end of files (@webchick: no, no... saying sorry before doesn't make people less "cranky" :P ).
Comment #71
TheRec CreditAttribution: TheRec commentedComment #72
mgiffordI think that after 20+ additional comments we're ready to bring this back to RTBC.
This patch displays the show/hide link in a way that screen-readers can interact with and it will be great to see it in core!
Comment #74
webchickHm. Sadly, it appears that this one no longer applies. :( Hopefully a quick re-roll, then please bump back to RTBC.
Comment #75
mgiffordSeemed to be some changes in the css tripped it up.
Comment #76
TheRec CreditAttribution: TheRec commentedThis works for me. Thanks mgifford for the re-roll.
Comment #77
webchickGreat! Committed to HEAD. Thanks! :D
Comment #78
David_Rothstein CreditAttribution: David_Rothstein commentedSeems like this introduced an undocumented dependency of the toolbar module on the menu module? (It leads to a whitescreen for me if I enable just the toolbar module alone.)
Comment #79
mgifford@David_Rothstein nice catch. Thanks for the heads up. I don't think this dependency is critical so I'm just checking for the module before loading it.
Comment #80
David_Rothstein CreditAttribution: David_Rothstein commentedActually, since this is a system-defined menu, I think we can make it work equally well regardless of whether the menu module is enabled or not.
Comment #81
mgifford+1 for patch #80.
That's a nice solution. Tested it with/without the menu.
Comment #82
TheRec CreditAttribution: TheRec commentedWorks like a charm and now it is green :) RTBC and sorry for introducing this dependency without knowing it. Thanks David_Rothstein for the fix.
Comment #83
webchickAwesome. Thanks for the follow-up!
Committed to HEAD.
Comment #84
aptereket CreditAttribution: aptereket commentedCan't apply this patch. For which version is it?
Comment #85
TheRec CreditAttribution: TheRec commentedYou might want to read comment #83. It was committed, that is surely why you cannot apply it anymore (as it is already applied). If you still encounter accessibility problems, you ought to create a new issue specifying exactly the problem you encounter as this issue was rather a general accessibility improvement.
Comment #87
David_Rothstein CreditAttribution: David_Rothstein commentedNote that the non-JavaScript functionality seems to have regressed sometime after this issue was fixed, and now no longer works at all.
I have a mostly-working patch for that at #759524: Toolbar drawer collapsing no longer works without JavaScript.