Summary: | [GTK] ControlsPanel string is not localized in LocalizedStringsGtk | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Philippe Normand <pnormand> | ||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | cfleizach, eric.carlson, feature-media-reviews, jdiggs, mario, webkit.review.bot, zan | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Philippe Normand
2012-09-12 05:45:21 PDT
Created attachment 164873 [details]
Patch
(In reply to comment #0) > I don't have time to dig which commit introduced this regression. And I didn't keep digging to find out. It *might* be due to a change in accessible hierarchy that exposed the ControlsPanel whereas it wasn't before. But the bottom line is: That object should be exposed to ATs. It is now exposed to ATs. It would be more accessible with a meaningful accessible name. And localizing the string makes that happen and also fixes your reported bug. So that's what I wound up doing. It strucks me that we're the only port hitting this issue. Especially given this FIXME in LocalizedStrings.cpp // FIXME: the ControlsPanel container should never be visible in the accessibility hierarchy. Can you clarify this please? :) (In reply to comment #3) > It strucks me that we're the only port hitting this issue. Especially given this FIXME in LocalizedStrings.cpp > > // FIXME: the ControlsPanel container should never be visible in the accessibility hierarchy. > > Can you clarify this please? :) It took a bit of spelunking (this FIXME is well traveled, having been moved several times as part of refactors and other changes). But I discovered its birth: http://trac.webkit.org/changeset/49206/trunk/WebKit/mac/WebCoreSupport/WebViewFactory.mm I don't know what other platforms expect, but having media controls floating outside of a logical parent container strikes me as being quite odd. Would you like me to amend the FIXME to indicate that at least the Gtk port expects this object? Chris, mind taking a look at this and chiming in? Thanks in advance! Comment on attachment 164873 [details] Patch Clearing flags on attachment: 164873 Committed r129141: <http://trac.webkit.org/changeset/129141> All reviewed patches have been landed. Closing bug. |