Is there any way to remove this auto output page name in a h2 functionality or modify it without completely creating a new type of activity/resource? (outside targeting the first occurrence of the h2 class within #region-main where the body class has pagelayout-incourse or path-mod-page.
The reasoning behind "forcing this" for accessibility options doesn't make much sense to me. Since this is the primary heading on the page, shouldn't this technically be a H1 anyway or am I missing something? Why are we forcing accessibility on the page resource, the purpose of that was to give us more of a full html presentational control instead of being stuck inside some of the boxes the other lesson resources provide. IE: it should act as standard HTML page with no constraints.
As far as I can find, this output is currently generated by /mod/page/view.php @ line 84 (moodle 2.6), which doesn't have a renderer.
I realize I can extend the heading function from /lib/outputrenderers, but that applies site wide anywhere heading() is called. I'd prefer not to arbitrarily wrap an extra div around the heading as this can cause some undesired styling effects on views that gets used.
So I guess my question is, if we do not want the page name (add resource/activity -> page ) to automatically output in a H2; is the present solution to either modify the core file, use a css hack, or create a custom lesson resource and just drop it into /mod?