Module:Hatnote: Difference between revisions

add role="note" for screen readers per protected edit request by User:Matt Fitzpatrick
(fix a mistake in the module comments; allow overriding the title in makeWikitextError; allow people to call _hatnote without an options table; and remove a comment about usage, as it is now covered in the test cases)
(add role="note" for screen readers per protected edit request by User:Matt Fitzpatrick)
Line 201:
end
return string.format(
'<div role="note" class="%s">%s</div>',
table.concat(classes, ' '),
s
Anonymous user