Ticket #5586 (closed defect: fixed)

Opened 6 months ago

Last modified 4 months ago

dropdownButton with menu: extra events with no role in FF3

Reported by: becky Owned by: simonjb
Priority: normal Milestone: 1.1
Component: Accessibility Version: 1.0
Severity: normal Keywords: FF3 a11y
Cc:

Description

When viewing events via AccEvent? the Edit Button in tests/form/test_Button.html shows several events in FF3 with no role information. This looks correct in FF2 but need to determine if this is solely a FF3 issue or if changes are needed within dropDownbutton as well. Email sent to Minefield a11y developer for clarification. Here is the event log when focus is on edit button and press down arrow (or enter key).

FF2 events:

OBJ_FOCUS	 Name="Edit!" Role=push button State=focused,focusable,has popup
OBJ_FOCUS	 Name="Cut" Role=menu item State=focused
OBJ_SHOW	 Name="" Role=popup menu State=normal

Minefield (build dated 01/14/08):

OBJ_FOCUS	 Name="Edit!" Role=push button State=focused,focusable,has popup
OBJ_FOCUS	 Name="Cut" Role=menu item State=focused,focusable
OBJ_SHOW	 Name=none [null] Role="div" [ BUG? State/Role should not be a string ] State=floating
OBJ_HIDE	 Name=none [null] Role="tr" [ BUG? State/Role should not be a string ] State=focusable
OBJ_HIDE	 Name=none [null] Role="tr" [ BUG? State/Role should not be a string ] State=focusable
OBJ_HIDE	 Name=none [null] Role="div" [ BUG? State/Role should not be a string ] State=normal
OBJ_HIDE	 Name=none [null] Role="div" [ BUG? State/Role should not be a string ] State=normal
OBJ_HIDE	 Name=none [null] Role="div" [ BUG? State/Role should not be a string ] State=normal
OBJ_HIDE	 Name=none [null] Role="div" [ BUG? State/Role should not be a string ] State=normal
OBJ_HIDE	 Name=none [null] Role="div" [ BUG? State/Role should not be a string ] State=normal
OBJ_SHOW	 Name=none [null] Role="div" [ BUG? State/Role should not be a string ] State=floating

Change History

Changed 6 months ago by becky

(In [12029]) refs #5586. Need to add focusNode to td acting as menuitem. Otherwise extra tabindex gets added into menu by KeyNavContainer?. !strict

Changed 5 months ago by becky

Changed 5 months ago by becky

  • owner changed from becky to simonjb

seems to be a duplicate of #4616 - transferring to Simon since he is looking at #4616

Changed 5 months ago by simonjb

  • status changed from new to assigned

Changed 5 months ago by simonjb

Here's what I am getting today, after #4616 has been closed and role="presentation" has been added to some other templates (#5702):

OBJ_FOCUS	 Name="Edit!" Role=menu button State=focused,focusable,has popup
(unknown)	 Name=none [null] Role="div" [ BUG? State/Role should not be a string ] State=normal
(unknown)	 Name=none [null] Role="div" [ BUG? State/Role should not be a string ] State=normal
OBJ_FOCUS	 Name="Cut" Role=menu item State=focused,focusable
(unknown)	 Name="Cut" Role=menu item State=focused,focusable
(unknown)	 Name="Dojo Button Widget Test" Role=document State=read only,focusable
OBJ_SHOW	 Name=none [null] Role="div" [ BUG? State/Role should not be a string ] State=floating
SYS_MENUPOPUPSTART	 Name="" Role=popup menu State=read only,focusable
(unknown)	 Name="Dojo Button Widget Test" Role=document State=read only,focusable
OBJ_SHOW	 Name=none [null] Role="div" [ BUG? State/Role should not be a string ] State=floating

Adding role="presentation" to the dijit.popup.open() wrapper:

OBJ_FOCUS	 Name="Edit!" Role=menu button State=focused,focusable,has popup
(unknown)	 Name=none [null] Role="div" [ BUG? State/Role should not be a string ] State=normal
(unknown)	 Name=none [null] Role="div" [ BUG? State/Role should not be a string ] State=normal
OBJ_FOCUS	 Name="Cut" Role=menu item State=focused,focusable
(unknown)	 Name="Cut" Role=menu item State=focused,focusable
(unknown)	 Name="Dojo Button Widget Test" Role=document State=read only,focusable
OBJ_SHOW	 Name="" Role=popup menu State=read only,focusable
SYS_MENUPOPUPSTART	 Name="" Role=popup menu State=read only,focusable
(unknown)	 Name="Dojo Button Widget Test" Role=document State=read only,focusable
OBJ_SHOW	 Name="" Role=popup menu State=read only,focusable

The remaining Role="div" events are on the div in test_Button.html containing the buttons. If I add role="presentation" to that div, then the events move to the document:

OBJ_FOCUS	 Name="Edit!" Role=menu button State=focused,focusable,has popup
(unknown)	 Name="Dojo Button Widget Test" Role=document State=read only,focusable
(unknown)	 Name="Dojo Button Widget Test" Role=document State=read only,focusable
OBJ_FOCUS	 Name="Cut" Role=menu item State=focused,focusable
(unknown)	 Name="Cut" Role=menu item State=focused,focusable
(unknown)	 Name="Dojo Button Widget Test" Role=document State=read only,focusable
OBJ_SHOW	 Name="" Role=popup menu State=read only,focusable
SYS_MENUPOPUPSTART	 Name="" Role=popup menu State=read only,focusable
(unknown)	 Name="Dojo Button Widget Test" Role=document State=read only,focusable
OBJ_SHOW	 Name="" Role=popup menu State=read only,focusable

Changed 5 months ago by simonjb

(In [12468]) Added role="presentation" to the dijit.popup.open() wrapper div; refs #5586

Changed 4 months ago by simonjb

  • status changed from assigned to closed
  • resolution set to fixed

With the change to dijit.popup.open I think we are done.

Note: See TracTickets for help on using tickets.