#35115: Empty footer element in main section of admin layout --------------------------------------+------------------------------------ Reporter: Marijke Luttekes | Owner: nobody Type: Cleanup/optimization | Status: new Component: contrib.admin | Version: 5.0 Severity: Normal | Resolution: Keywords: HTML | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 --------------------------------------+------------------------------------
Comment (by Mariusz Felisiak): Replying to [comment:5 Thibaud Colas]: > I have two concerns with this that I’d recommend investigating further: > > - Do screen readers announce landmark regions like footer that are empty? If so that would be problematic. You should be able to test this with VoiceOver on mac, and in particular the rotor: https://support.apple.com/en-gb/guide/voiceover/mchlp2719/mac. If that feels like too much, please say so and we’ll have the Django accessibility team picking this up > - Is it clear enough to people who would override this, that with it outside `main`, they’d definitely need to use a `<footer>` tag? Otherwise their content would be outside a landmark (https://dequeuniversity.com/rules/axe/4.3/region). I wanted do keep `<footer>` as a guide for others. We can also force them to use it by: {{{ <footer>{% block footer %}{% endblock %}</footer> }}} This, of course, does not answer your first question. -- Ticket URL: <https://code.djangoproject.com/ticket/35115#comment:6> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018d11e4dfea-674edb36-30f3-4fee-abc7-a2171b715e07-000000%40eu-central-1.amazonses.com.