Module:Navbar: Difference between revisions
changes requested by User:Matt Fitzpatrick to improve accessibility
m>George Orwell III (rem unneeded tabs/spacing for more unified importing/exporting) |
m>MSGJ (changes requested by User:Matt Fitzpatrick to improve accessibility) |
||
Line 59: | Line 59: | ||
:addClass('nv-view') | :addClass('nv-view') | ||
:wikitext('[[' .. title.fullText .. '|') | :wikitext('[[' .. title.fullText .. '|') | ||
:tag('span') | :tag(args.mini and 'abbr' or 'span') | ||
:attr('title', 'View this template') | :attr('title', 'View this template') | ||
:cssText(args.fontstyle) | :cssText(args.fontstyle) | ||
Line 69: | Line 69: | ||
:addClass('nv-talk') | :addClass('nv-talk') | ||
:wikitext('[[' .. talkpage .. '|') | :wikitext('[[' .. talkpage .. '|') | ||
:tag('span') | :tag(args.mini and 'abbr' or 'span') | ||
:attr('title', 'Discuss this template') | :attr('title', 'Discuss this template') | ||
:cssText(args.fontstyle) | :cssText(args.fontstyle) | ||
Line 81: | Line 81: | ||
:addClass('nv-edit') | :addClass('nv-edit') | ||
:wikitext('[' .. title:fullUrl('action=edit') .. ' ') | :wikitext('[' .. title:fullUrl('action=edit') .. ' ') | ||
:tag('span') | :tag(args.mini and 'abbr' or 'span') | ||
:attr('title', 'Edit this template') | :attr('title', 'Edit this template') | ||
:cssText(args.fontstyle) | :cssText(args.fontstyle) |