Opened 16 years ago
Closed 16 years ago
#3042 closed Bug (fixed)
Accessibility not complete on toolbar items
Reported by: | Garry Yao | Owned by: | Frederico Caldeira Knabben |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.0 |
Component: | Accessibility | Version: | SVN (FCKeditor) - Retired |
Keywords: | Confirmed Review+ | Cc: |
Description
Certain toolbar items are not correctly with title and tabIndex.
Attachments (5)
Change History (19)
comment:1 Changed 16 years ago by
Keywords: | Confirmed added |
---|
comment:2 Changed 16 years ago by
Keywords: | Review? added |
---|---|
Owner: | set to Garry Yao |
Status: | new → assigned |
comment:3 follow-up: 4 Changed 16 years ago by
Keywords: | Review? removed |
---|
This one is going to be fixed along with #3073.
comment:4 follow-up: 5 Changed 16 years ago by
Replying to garry.yao:
This one is going to be fixed along with #3073.
No it's not. #3073 is supposed to handle the TAB move over the toolbar only. We still need to make the combos contents accessible:
- TAB to combo and hit ENTER to open it (#3073). The combo panel opens with no options selected.
- Use ( ARROW-DOWN | TAB ) && ( ARROW-UP | SHIFT-TAB) to move through the panel items. (It should simply stop when hitting the first/last item).
- ENTER key to execute the item (should be ready already).
- or ESC to close the panel and return the focus back to the combo.
Points 2, 3 and 4 are not handled by #3073.
Changed 16 years ago by
Attachment: | 3042.patch added |
---|
comment:5 Changed 16 years ago by
Keywords: | Review? added |
---|
Changed 16 years ago by
Attachment: | 3042_2.patch added |
---|
comment:6 Changed 16 years ago by
IE's not expecting keydown on Window, so register this event on Document instead.
comment:7 Changed 16 years ago by
Keywords: | Review- added; Review? removed |
---|---|
Owner: | changed from Garry Yao to Frederico Caldeira Knabben |
Status: | assigned → new |
Your patch is quite interesting. I was tending to accept it, but it came to my eyes that it would be much better if the key handling logic would be contained by the block itself, instead of the richcombo. In this way, we could reuse it for other blocks, like the color selectors or the context menu.
There were also other things missing in this patch, like the keys support in the color selectors. There were also some fixes to the coding style, as well as simplifications that could be done.
Due to the extreme urgency we have for this ticket, I'll be coming with a new patch for it.
Changed 16 years ago by
Attachment: | 3042_3.patch added |
---|
comment:8 Changed 16 years ago by
Component: | General → Accessibility |
---|---|
Keywords: | Review? added; Review- removed |
Status: | new → assigned |
This new patch is supposed to fix "all" issues regarding the toolbar combos and color selectors accessibility.
comment:9 follow-up: 10 Changed 16 years ago by
Keywords: | Review- added; Review? removed |
---|
The patch has the following problems:
- BOM is attaching to plugin.js file in both 'richCombo' and 'listBlock';
- The logic at Line 265 of _source/plugins/panel/plugin.js is counting invisible list item, which cause the first two 'arrowDown' key within Styles Combo been absorbed, it's better to bypass those items;
- The 'focusIndex' is not correct in colorbutton panel, which always start at the position of last focused box , no matter if the box is selected.
Changed 16 years ago by
Attachment: | 3042_4.patch added |
---|
comment:10 Changed 16 years ago by
Keywords: | Review? added; Review- removed |
---|
Replying to garry.yao:
- BOM is attaching to plugin.js file in both 'richCombo' and 'listBlock';
Many of of files have the BOM. This thing doesn't need to be checked as it is supposed to be made uniform during the release process.
In any case, I believe the new patch doesn't have it.
- The logic at Line 265 of _source/plugins/panel/plugin.js is counting invisible list item, which cause the first two 'arrowDown' key within Styles Combo been absorbed, it's better to bypass those items;
It looks like we can't rely on styles for this check. I've changed it.
- The 'focusIndex' is not correct in colorbutton panel, which always start at the position of last focused box , no matter if the box is selected.
The panel now resets it before showing the block.
comment:11 follow-up: 12 Changed 16 years ago by
Keywords: | Review- added; Review? removed |
---|
In Webkit, Esc not working with Text Color panel, when pressed, the focus is not returned to button link, works for Bg Color though.
comment:12 Changed 16 years ago by
Keywords: | Review? added; Review- removed |
---|
Replying to garry.yao:
In Webkit, Esc not working with Text Color panel, when pressed, the focus is not returned to button link, works for Bg Color though.
This is not critical. We can have a ticket for it as soon as this one gets committed.
comment:13 Changed 16 years ago by
Keywords: | Review+ added; Review? removed |
---|
In test case itemElement.getAttribute( 'title' ) is a string or a null and it is impossible to get 'true'.
It should be changed to: