Front end web is not my forte, but as I understand display:none; can have unintended (usually negative) interactions with screen readers, which I don't believe is a possibility with HTML templates.
WebAIM[0]:
> display:none or visibility: hidden
> The content is removed from the visual flow of the page and is ignored by screen readers
[0] https://webaim.org/techniques/css/invisiblecontent/#techniqu...
https://developer.mozilla.org/en-US/docs/Web/Accessibility/A...
aria-hidden is for elements that were rendered but are hidden (it's redundant on elements with a display value of `none`)