Skip to content

Fix small accessibility issues from #57 #58

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

Merged

Conversation

thibaudcolas
Copy link
Contributor

See #57 for all the details. Each commit fixes a different issue. I only went for things that felt straightforward enough and didn’t need a lot of back-and-forth.

@@ -73,7 +73,8 @@ metrics.
This is what a metric could look like:

.. figure:: _static/screenshot.png
:alt: Metric example
:target: _static/screenshot.png
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note I didn’t test this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -22,6 +22,7 @@ def metrics_view(request, name):
request,
"postgres_metrics/table.html",
{
"title": metric.label,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably the most important of all of those fixes, making sure the page <title> is set correctly.

@MarkusH MarkusH force-pushed the bug/accessibility-fixes branch from f317114 to f811d32 Compare June 5, 2021 16:14
@MarkusH MarkusH merged commit f811d32 into django-postgres-metrics:main Jun 5, 2021
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

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy