Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace aside tags with div tags when converting rST to HTML #1783

Conversation

gabalafou
Copy link
Collaborator

@gabalafou gabalafou commented Apr 24, 2024

This is a proof of concept that fixes #1479.

I'm not entirely sure this is a maintainable approach, though. The problem is that if we upgrade Sphinx, then we will need to revisit the methods that this PR overrides to make sure that they aren't missing any features that may or may not have been added in a Sphinx update.

A better approach would be a simple substitution of aside for div tags when the doc pages get written as HTML, but I don't know how to do that.

@gabalafou
Copy link
Collaborator Author

gabalafou commented Apr 24, 2024

In order for this to be complete, need to also override visit_topic and (maybe) visit_system_message

@gabalafou gabalafou added the tag: accessibility Issues related to accessibility issues or efforts label Apr 25, 2024
@gabalafou
Copy link
Collaborator Author

In chat with Tania, we decided not to go forward with this pull request because of my concerns about maintainability.

@gabalafou gabalafou closed this May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag: accessibility Issues related to accessibility issues or efforts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

landmark-unique violation at /examples/kitchen-sink/generic.html
1 participant