Prerequisites
What theme are you using?
core
What is your question?
I am using nested forms, and would like to know is there a way to find out how "deep" I am.
Context - I would like to use headings (for accessibility) and would like to apply H1-H6 depending on how deep the form is.
Different approaches welcome.