Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Missing accesskey, or not?

4 views
Skip to first unread message

Ricardo Palomares Martí­nez

unread,
Aug 9, 2015, 4:05:29 PM8/9/15
to
Hi,

I've been notified of a wrong accesskey in a button. The label key
turned out to be this:

http://mxr.mozilla.org/mozilla-central/source/browser/locales/en-US/chrome/browser/browser.properties#62

And there is no correponding accesskey entity. MXR took me to this line:

http://mxr.mozilla.org/mozilla-central/source/browser/components/nsBrowserGlue.js#699

which, indeed, lacks an accesskey entry for the addonWatchDisable
button. But, if I go to Mercurial in annotation mode, the file looks
the same than MXR:

http://hg.mozilla.org/mozilla-central/annotate/24f4d8e5e24b/browser/components/nsBrowserGlue.js

but the changeset for that part of the file does include the accesskey
line! What am I doing wrong?

TIA

--
Proyecto NAVE (Mozilla es-ES Localization Team)
Mozilla Hispano Community

YF

unread,
Aug 9, 2015, 4:30:59 PM8/9/15
to Ricardo Palomares Martí­nez, Mailing List - Mozilla - l10n
I found the https://hg.mozilla.org/mozilla-central/rev/1e6108d642bf and
https://bugzilla.mozilla.org/show_bug.cgi?id=1153198, through open all of
'diff' links in the file's 'revisions' and 'find in all tabs' (FindBar
Tweak).

2015-08-10 4:05 GMT+08:00 Ricardo Palomares Martí­nez <
rpm....@proyectonave.es>:
> _______________________________________________
> dev-l10n mailing list
> dev-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-l10n
>



--
Best regards,
YFdyh000.

Theo Chevalier

unread,
Aug 9, 2015, 10:12:52 PM8/9/15
to
Hi Ricardo,

Good catch, I can confirm the issue in French. Looks like you found the
issue and the appropriated fix as it seems the accesskey line has been
removed by another commit (that's why you can't see it in annotate
mode). You can go ahead and file a bug (please CC me), or I'll file one
on Monday.

Cheers,
Théo

Theo Chevalier

unread,
Aug 9, 2015, 10:21:08 PM8/9/15
to
Note that the bug should block the bug pointed by YF (Bug 1153198) as it
was supposed to remove the accesskey, but a random character is now
picked up instead.

Cheers,
Théo

Francesco Lodolo [:flod]

unread,
Aug 10, 2015, 2:46:47 AM8/10/15
to dev-...@lists.mozilla.org
Il 10/08/15 04:12, Theo Chevalier ha scritto:
> Good catch, I can confirm the issue in French. Looks like you found
> the issue and the appropriated fix as it seems the accesskey line has
> been removed by another commit (that's why you can't see it in
> annotate mode). You can go ahead and file a bug (please CC me), or
> I'll file one on Monday.
I'm not sure I understand the original problem: the report was that the
accesskey is wrong or missing?

Bug 1153198 is exactly about removing the accesskey, so it's not a
regression, it's expected behavior.

Francesco

Theo Chevalier

unread,
Aug 10, 2015, 10:57:59 AM8/10/15
to
Bug 1153198 removed the possibility to define an acceskey, but in the UI
we still have one ("U"), and it's not a character we have in "Disable".
So what we want now, is removing that.

Théo

Theo Chevalier

unread,
Aug 10, 2015, 1:01:14 PM8/10/15
to
0 new messages