Ticket #210 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

nvda must read document title changes

Reported by: aleksey_s Owned by: jteh
Priority: minor Milestone: 2009.1
Component: Core Version: development
Keywords: Cc:
Operating system: Blocked by:
Blocking:

Description

it is required for example in firefox, when changing tabs, nvda must automatically announce title of a new page.

Change History

comment:1 Changed 3 years ago by jteh

  • Component changed from Virtual buffers to Core

Mick and I have been debating the correct solution on this one for a while.

  • We don't believe that reading the document title every time a buffer gets focus is the correct solution.
    • This would result in unnecessary reading of this information.
  • We should probably read the current tab when it changes.
    • Unfortunately, Firefox doesn't fire the correct event when this occurs. See  MozillaBug:414302.
  • The new tab switcher should read the names of tabs as you cycle between them.
  • A temporary solution we discussed was to read the name of the application window when it changes.
    • We only want to do this for Firefox. Doing it everywhere causes way too much verbosity.
    • Would this be satisfactory for now?

comment:2 follow-up: ↓ 3 Changed 3 years ago by vtsaran

There seems to have been no follow-up on this ticket.
In response to jamie's question, I think reading app title would be sufficient. I presume, this will also cover window titles in Firefox's s tabs. Is this assumption correct?

comment:3 in reply to: ↑ 2 Changed 3 years ago by jteh

Replying to vtsaran:

There seems to have been no follow-up on this ticket.

Nothing has changed on the Firefox front, so we still need to hack around this for now.

In response to jamie's question, I think reading app title would be sufficient.

Unfortunately, this would include the title of Firefox itself; e.g. "Google - Mozilla Firefox". A nastier (but less annoying) work around might be to use the application title change to detect when the tab has changed, but then try to find the current tab and speak its name, thus avoiding the actual application name. The problem is that there is no clean or fast way to find the current tab.

I presume, this will also cover window titles in Firefox's s tabs. Is this assumption correct?

I don't understand. Do you mean reading the name of the current tab when the tab is changed, reading the document title when it changes in the current tab, or both?

comment:4 Changed 3 years ago by jteh

  • Status changed from new to assigned
  • Owner set to jteh

When lessFreezing is merged, event_virtualBuffer_firstGainFocus will be merged into event_virtualBuffer_gainFocus. event_virtualBuffer_gainFocus can speak the document title if this is not the first time.

comment:5 Changed 2 years ago by jteh

  • Status changed from assigned to closed
  • Resolution set to fixed

Implemented in r3154.

Note: See TracTickets for help on using tickets.