Module:Documentation: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
sync from sandbox, add aria role and label to container
(remove test deleted a decade ago)
(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)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu