Last modified: 2014-02-12 23:54:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T34583, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32583 - find another way to store titles of homepage sections
find another way to store titles of homepage sections
Status: RESOLVED DUPLICATE of bug 30405
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Normal major
: ---
Assigned To: Nobody - You can work on this!
:
: 31316 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-22 12:54 UTC by Bergi
Modified: 2014-02-12 23:54 UTC (History)
12 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bergi 2011-11-22 12:54:54 UTC
As explained in http://meta.wikimedia.org/wiki/Mobile_Projects/Mobile_Gateway#Global_Prefix every element (you don't really mean "selector") which should appear on a mobile homepage needs to have an id beginning with mf or mp, OK. But It also says that it /needs/ a title attribute! For what, to generate the corresponding heading out of it?!
The title attribute is the reason for an annoying tooltip on the element, or is read by screen readers - as specified in http://www.w3.org/TR/html4/struct/global.html#title. But it's redundant to the already existing heading element, which makes it very annoying.

So I'd propose either to change it to an invisible and inhearable metadata attribute, or just give the corresponding heading an identifier to associate them together.
The "summary" attribute would offer a telling name, but a) only belongs to <table> elements and b) is read by audible UAs.
So why not just give the <section> an id "m[obile]s[ection]-xyz" and the corresponding <hN> the id "m[obile]h[eading]-xyz"?
Comment 1 Mark A. Hershberger 2011-11-22 21:37:26 UTC
this should really be on the mobile gate component, I think.
Comment 2 Jon 2012-03-27 11:19:19 UTC
*** Bug 31316 has been marked as a duplicate of this bug. ***
Comment 3 Krinkle 2012-03-29 11:18:11 UTC
Perhaps data- attributes are a good candidate (blocked by wgHtml5 enabling)
Comment 4 Jon 2012-05-01 11:57:26 UTC
I'm marking as a duplicate as the main page has more problems than just this and it would be better tackling all of this together in bug 30405 .

*** This bug has been marked as a duplicate of bug 30405 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links