Found this content helpful? Log in or sign up to leave a like!

Add the main HTML element in the allowed HTML elements list

Jump to solution
dalemoore
Community Novice

Hello, I would like to request that Instructure add the `main` HTML element to the allowed list of HTML elements as seen on this Canvas HTML Editor Allowlist page. It's odd to me that they allow `aside`, `footer`, `header`, `details`, and `picture` which are just as recent, but not `main`? It is great that they allow ARIA roles, so if necessary you could do <div role="main">, but it's preferred to use the semantic HTML elements instead.

Thanks!

Labels (2)
1 Solution
dbrace
Community Coach
Community Coach

Hi @dalemoore,

Welcome to the Instructure/Canvas Community!

I do not have a direct answer for you but this is something that would need to be submitted as an Idea so that others can vote on it and have it be added to Canvas.

-Doug

View solution in original post