Last modified: 2014-02-12 23:54:57 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"?
this should really be on the mobile gate component, I think.
*** Bug 31316 has been marked as a duplicate of this bug. ***
Perhaps data- attributes are a good candidate (blocked by wgHtml5 enabling)
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 ***