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

Provide searchable images #231

Open
sgrellet opened this issue Jul 3, 2024 · 5 comments
Open

Provide searchable images #231

sgrellet opened this issue Jul 3, 2024 · 5 comments

Comments

@sgrellet
Copy link
Contributor

sgrellet commented Jul 3, 2024

Could we make diagrams searchable in the spec ?

That will help not loosing the overview when looking at class/property definition and also newcomers navigate in the spec by searching for properties & classes names

@dr-shorthair
Copy link
Collaborator

I have tried adding terms to the alt tag in the HTML, but that still does not make them searchable using ctrl-F .

@dr-shorthair
Copy link
Collaborator

@sgrellet do you have a technical solution for this that we might consider?

@sgrellet
Copy link
Contributor Author

I'll ask the team here.

@sgrellet
Copy link
Contributor Author

Feedback from colleagues

  • we could try SVG but it has to be within the HTML page not a reference to an external SVG image : and see how this work
  • or, more crappy solution, fill in image accesibility tags with the name of the classes and properties etc...

@ldesousa
Copy link
Contributor

Alternative solutions to consider:

  • Mermaid: currently interpreted in Markdown documents by must code forges, therefore usable directly in GitHub issues, etc.

  • PlantUML: popular at the moment, although not as integrated with code forges.

In both cases the diagram sources can be provided alongside the main HTML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants