Closed Bug 1894484 Opened 7 months ago Closed 7 months ago

Try-again button should have visible focus when an error occurs

Categories

(Firefox :: Translations, defect, P3)

defect

Tracking

()

RESOLVED FIXED
127 Branch
Accessibility Severity s2
Tracking Status
firefox127 --- fixed

People

(Reporter: nordzilla, Assigned: nordzilla)

References

Details

(Keywords: access)

Attachments

(1 file)

Description

We need to sure that the try-again button has visible focus when it becomes the active element during a panel error state, both to provide a better general user experience, and for a11y customers who would benefit from the extra visual signaling.


Steps to implement

  • Ensure that { focusVisible: true } is always passed when focusing the try-again button.

Tests to implement

  • Ensure that the try-again button is the active element in these scenarios.
Summary: Ensure try-again button has visible focus when an error occurs → Try-again button should have visible focus when an error occurs

Ensures that the try-again button receives a focus outline
any time an error state occurs in the SelectTranslationsPanel,
to more clearly indicate a possible next action to take.

Depends on D209091

Accessibility Severity: --- → s2

The severity field for this bug is set to S3. However, the accessibility severity is higher, .
:nordzilla, could you consider increasing the severity?

For more information, please visit BugBot documentation.

Flags: needinfo?(enordin)

Bumping to match A11y severity.

Severity: S3 → S2
Flags: needinfo?(enordin)
Pushed by enordin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/033d5c8c3f8a Ensure try-again button has visible focus when an error occurs r=translations-reviewers,gregtatum

Backed out for causing mochitests failures in browser_translations_select_panel_translation_failure_after_unsupported_language.js.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_select_panel_translation_failure_after_unsupported_language.js | The element 'select-translations-panel-translate-button' should have focus. - Got [object XULElement], expected [object XULElement]
Flags: needinfo?(enordin)
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
Pushed by enordin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0be27e9af0bb Ensure try-again button has visible focus when an error occurs r=translations-reviewers,gregtatum

:SerbanS, same question here. I'm not sure why this was marked as RESOLVED when it was backed out. I'm changing this to REOPENED and leaving you a NI.

Status: RESOLVED → REOPENED
Flags: needinfo?(enordin) → needinfo?(sstanca)
Resolution: FIXED → ---

Thank you!

Flags: needinfo?(sstanca)
Target Milestone: 127 Branch → ---
Status: REOPENED → RESOLVED
Closed: 7 months ago7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: