help with my accessibility extension

33 views
Skip to first unread message

Prasanna Bale

unread,
May 30, 2014, 3:55:18 PM5/30/14
to fir...@googlegroups.com
Hey Honza!

I am finding difficulty in implementing one of the features in our accessibility extension.

Here is the what I wanted to show:
1. The extension has some menu items
2. The main panel of my extension also shows these menu items as the list of links.
3. When I click on these links should behave as same as I click on menu items. So, when I click on the link, my code is able to show the appropriate menu item as checked but the content on the panel is shown for a second and boom. it goes off and disables the activities of all the menu items.
while debugging it, I see that the panel object doesn't have the panelNode or document objects as part of the panel objects. 

Can you please help me understand what is going on here? If you want I can send my code to you.

Thanks in advance!
Prasanna



Prasanna Bale

unread,
May 30, 2014, 3:59:24 PM5/30/14
to fir...@googlegroups.com
Between, I am using Firebug 1.12.8
--
Prasu


Prasanna Bale

unread,
Jun 18, 2014, 12:32:14 PM6/18/14
to fir...@googlegroups.com
can any one help me on this please?? I am stuck and not able to proceed further...
--
Prasu


Jan Honza Odvarko

unread,
Jun 19, 2014, 2:18:12 AM6/19/14
to fir...@googlegroups.com
Hi Prasu,
please send me your extension, we can work out
the issue step by step.

Honza

Prasanna Bale

unread,
Jun 19, 2014, 12:03:29 PM6/19/14
to fir...@googlegroups.com
Hello Honza,

Please find my extension attached. The files you may want to look in to are:

1. ainspectorPanel.js
2. ainspectorModule.js
3. ainspectorSummaryTemplate.js
4. ruleCategoryViews.js
5. sidepanels/elements.js

Thanks for taking time and looking into it.


To reproduce my issue:

1. Select A11y Panel if is not enabled please enable it
2. Click on Views menu and you see Summary, All Rule Summary, WCAG and then a separator that separates these views with rest of menu items.
3. Select Summary will display the last 12 menu items in the View as links in the panel body.
4. Click on Landmarks link should take to the Landmarks view with Elements as sidepanel.
5. Problem is opens Landmarks view and show the content for a second and blanks the panel there by disables the Firebug panel completely.

Thanks,
Prasanna



ainspector-0.9.17.xpi

Jan Honza Odvarko

unread,
Jun 24, 2014, 9:21:34 AM6/24/14
to fir...@googlegroups.com
Hi Prasanna,
put  Events.cancelEvent(event); into your redirectView method to avoid further navigation.
(in ainspectorSummaryTemplate.js)

redirectView : function(event) {
 Events.cancelEvent(event);
..

Does it help?

Honza

Prasanna Bale

unread,
Jun 24, 2014, 10:59:05 AM6/24/14
to fir...@googlegroups.com
Hey Honza,

Yes it solved the issue. Thanks a bunch. :)

Prasanna



--
You received this message because you are subscribed to the Google Groups "Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebug+u...@googlegroups.com.
To post to this group, send email to fir...@googlegroups.com.
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebug/d71d0f03-1729-4910-899f-d80d55721eab%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Prasu


Jan Honza Odvarko

unread,
Jun 24, 2014, 11:15:07 AM6/24/14
to fir...@googlegroups.com
Excellent

:-)

Honza
To unsubscribe from this group and stop receiving emails from it, send an email to firebug+unsubscribe@googlegroups.com.

To post to this group, send email to fir...@googlegroups.com.
Visit this group at http://groups.google.com/group/firebug.



--
Prasu


Reply all
Reply to author
Forward
0 new messages