Closed Bug 615004 Opened 14 years ago Closed 14 years ago

Let Accesskey test check whether accesskey letter exists in the corresponding text

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: linostar, Unassigned)

References

Details

(Whiteboard: [mozmill-l10n][MozmillTestday])

Let the Accesskey test check whether accesskey letter exists in the corresponding text. That will help detecting invalid accesskeys.
Blocks: 562084
Whiteboard: [mozmill-l10n][MozmillTestday]
Axel, is that something we should do in Mozmill?
It may not be always good to force accesskey letter to be present in the text.

The text may contain few characters convenient as an accesskey, e.g.
* if the text consists mostly of characters not quickly available with a standard keyboard layout, or
* if there is a very common accesskey for that operation not present in the text, or
* if all the usable characters are used already, or
* if there are multiple popular keyboard layouts, so the free characters might have different positions depending on the layout (which sometimes might lead to "Yes" and "No" being on the same physical key).
* we would need to have a white-list of locales to run such a test on (if the tests will be executed automatically one day), as e.g. some Asian locales use English access keys for their localized labels, as they use English-keyboards

Beside that, I'm not sure if Mozmill is the right place for such a test, even if it should be quite easy to implement it. Tools operating on source files, like compare-locales, seem to be the better place for such checks in my opinion.
Those tools do not know to which element an access key is assigned to. Further the text/label is also unknown to them. Not sure how it could be done outside of a running browser instance.
Accesskey checks in the source are somewhat possible, 'cause we have pretty good heuristics on which key is an accesskey for which label, based on the name of the entities. Not perfect, but still.

As Adrian said, the test is rather useless for locales without keyboard support, so not sure if it's worth it. It's rather clear in the UI, too.
Which means we shouldn't spend time on it? Are you ok with a wontfix?
Yeah
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.