OK, it seems like the access key for XUL labels and check boxes is drawn using an HTML span with class named accesskey, and all of this is done in text.xul: <http://mxr.mozilla.org/mozilla-central/source/toolkit/content/widgets/text.xml#87>. This is a problem since XUL content does not have access to the nsIWidget interface.
CCing Enn to see if he has an idea how to tie the nsIWidget-based implementation and XUL text-label widget together.
OK, it seems like the access key for XUL labels and check boxes is drawn using an HTML span with class named accesskey, and all of this is done in text.xul: <http:// mxr.mozilla. org/mozilla- central/ source/ toolkit/ content/ widgets/ text.xml# 87>. This is a problem since XUL content does not have access to the nsIWidget interface.
CCing Enn to see if he has an idea how to tie the nsIWidget-based implementation and XUL text-label widget together.