After an accessibility check that a client run on her website, we are required to do some modifications on Plone's templates including the "folder contents" view.
There Plone is using the "structure" pattern from mockup to show the folder contents view, and specificaly we were requested to remove the last
<ul> item because it is not a real list and convert it to some other HTML tag, this line: https://github.com/plone/mockup/blob/master/mockup/patterns/structure/templates/paging.xml#L45
How should we face it?
I tried to create a different pattern (a shameless copy of structure pattern), register it as a new one, change the folder contents template to call the new pattern, but I don't manage to register the pattern correctly. The point seems that the structure pattern uses a "mockup-patterns-structure-url" "pattern" to point to a given folder in the mockup project and then the pattern loads the needed files (among others the paging.xml we want to change) from there.
Checking Plone's config.js generator I see that when registering the pattern in my registry.xml file I can use a "url" indicator to register the "mockup-patterns-mystructure-url", anyway I don't manage to load the pattern correctly.
Is this the right direction?
Any other hint will be appreciated