Module:Documentation: Difference between revisions

sync from sandbox, add aria role and label to container
m (1 revision imported)
(sync from sandbox, add aria role and label to container)
Line 139:
-- 'documentation-container'
:addClass(message('container'))
:attr('role', 'complementary')
:attr('aria-labelledby', args.heading ~= '' and 'documentation-heading' or nil)
:attr('aria-label', args.heading == '' and 'Documentation' or nil)
:newline()
:tag('div')
Line 627 ⟶ 630:
:tag('span')
:addClass(data.headingClass)
:attr('id', 'documentation-heading')
:cssText(data.headingStyleText)
:wikitext(data.heading)