Closed Bug 1997388 Opened 9 months ago Closed 4 months ago

[dialog] New Shortcut dialog needs a label/accessible name

Categories

(Firefox :: New Tab Page, defect)

Firefox 146
defect

Tracking

()

RESOLVED FIXED
151 Branch
Accessibility Severity s3
Tracking Status
firefox146 --- wontfix
firefox151 --- fixed

People

(Reporter: nstroud, Assigned: mekaranyadav8, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: access, good-first-bug, Whiteboard: [lang=html])

Attachments

(2 files)

STR:

  1. Open Firefox Nightly
  2. Go to about:newtab
  3. In the shortcuts row, click the 'Add shortcut' button
  4. The 'New Shortcut' dialog will appear. Open 'Web Developer Tools' (press Ctrl + Shift + I or open the hamburger menu at the top right, More tools > Web Developer Tools)
  5. In dev tools, click the Accessibility tab.
  6. Click the 'Pick accessible object from page' icon button to the left of 'Inspector'.
  7. Hover over the entire dialog. Once it's highlighted, click on the dialog.

Actual / Expected:

NVDA only says 'dialog' when the New Shortcuts dialog appears. Labeling the dialog allows assistive technology users to know what its purpose is. See: Dialogs should be labeled

The severity field is not set for this bug.
:thecount, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(sdowne)

To help Mozilla out with this bug, here's the steps:

  1. Comment here on the bug that you want to volunteer to help.
    This will tell others that you're working on the next steps.

  2. Download and build the Firefox source code: https://firefox-source-docs.mozilla.org/setup/index.html

  3. Start working on this bug. Follow the steps the reporter of this bug has put in to replicate the issue.

    • If you have any problems with this bug, please comment on this bug and set the needinfo flag for me.
  4. Run and test your newtab changes:

    • Open 2 terminal windows, both in the firefox directory:
      • Window #1: Run ./mach newtab watch (this will watch for code changes)
      • Window #2: Run ./mach run (this will launch Firefox)
    • To reload the page with fresh code changes:
      • Mac: Press Cmd+Opt+R
      • Windows/Linux: Press Ctrl+Shift+R
    • Check your changes for adherence to our style guidelines by using ./mach lint
  5. Commit your changes with a proper commit message:

    • Use the following format for your commit message:
      Bug XXXXXX - Text explaining your fix. r=#home-newtab-reviewers
      • Replace XXXXXX with the bug number (found at the end of this bug's URL)
      • Example: Bug 1234567 - Fix broken link in Top Sites menu. r=#home-newtab-reviewers
    • Commit your changes with: git commit -am "Bug XXXXXX - Your description here. r=#home-newtab-reviewers"
    • Important: Phabricator only needs one commit per bug. If you need to make additional changes after committing, use git commit --amend --no-edit to update your existing commit instead of creating a new one.
  6. Submit the patch (including an automated test, if applicable) for review. Mark me as a reviewer so I'll get an email to come look at your code.

  7. After a series of reviews and changes to your patch, I'll mark it for checkin or push it to autoland. Your code will soon be shipping to Firefox users worldwide!

  8. ...now you get to think about what kind of bug you'd like to work on next. Let me know what you're interested in and I can help you find your next contribution.

Mentor: rhamoui
Keywords: good-first-bug
Whiteboard: [lang=html]

Can someone assign me this bug!

@rhamoui@mozilla.com please assign me this

The <dialog> element in ModalOverlayWrapper had no accessible name, causing
screen readers to announce only 'dialog'. Moved aria-labelledby from the inner
div to the <dialog> element, added an id to the TopSiteForm heading, and passed
headerId to ModalOverlayWrapper so the dialog is labeled 'New Shortcut'.

Assignee: nobody → mekaranyadav8
Status: NEW → ASSIGNED

Hey there, sorry I was not getting notified. With Bugzilla, you'll need to go to the bottom of the page (under the textbox) and select "Request information from" and put the username in its input.

Happy to assign this bug to you

Flags: needinfo?(mekaranyadav8)
Flags: needinfo?(mekaranyadav8)
Flags: needinfo?(rhamoui)

Also I have raised the PR for this - https://phabricator.services.mozilla.com/D282220 can you please check and approve it , if it is ok

Hey there, thanks for being patient! I've just reviewed the patch for this bug.

Flags: needinfo?(mekaranyadav8)
Pushed by rhamoui@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/049f5f7899b9 https://hg.mozilla.org/integration/autoland/rev/13c4d63388fd Label the New Shortcut dialog for accessibility. r=home-newtab-reviewers,reemhamz
Pushed by pstanciu@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ea33608d0d2e https://hg.mozilla.org/integration/autoland/rev/3e11b69f69b3 Revert "Bug 1997388 - Label the New Shortcut dialog for accessibility. r=home-newtab-reviewers,reemhamz" for causing newtab failures @bundles

Hey there, just seeing if you'd still be keen to finish working on the patch?
I've added instructions on the patch for how to fix the errors.

Flags: needinfo?(rhamoui)

Redirect a needinfo that is pending on an inactive user to the triage owner.
:thecount, since the bug has recent activity, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(mekaranyadav8) → needinfo?(sdowne)

can this be reassigned to me?

Flags: needinfo?(kcochrane)

Going to defer to Reem on how to proceed here. It looks like there was already a decent amount of work done in the previous patch, so we may just prefer to commandeer it and fix the test failures rather than abandoning that and starting from scratch with a new contributor.

Flags: needinfo?(kcochrane) → needinfo?(rhamoui)

Hey liz, I'm going to go ahead and commandeer this patch as Kelly suggested, as it's been lingering in limbo for a while.
Sorry about that -- let me know if there are any other new tab bugs you'd be interested in working on!

Flags: needinfo?(rhamoui)
Attachment #9543214 - Attachment description: Bug 1997388 - Label the New Shortcut dialog for accessibility. r?nina-py → Bug 1997388 - Label the New Shortcut dialog for accessibility. r=#home-newtab-reviewers
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
Flags: needinfo?(sdowne)
QA Whiteboard: [qa-triage-done-c152/b151]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: