• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zostera / django-bootstrap5 / 14819098846
98%

Build:
DEFAULT BRANCH: main
Ran 04 May 2025 07:48AM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Canceled at 24 May 2025 12:37PM UTC via web
14819098846

push

github

web-flow
Fix help text and error IDs for aria-describedby (#746)

* Fix help text and error IDs for aria-describedby

Django recently started using `aria-describedby` to associate form
fields first with their help texts, and later also with error messages.

In #716, django-bootstrap5 was adapted to also include those the
necessary IDs in templates.

`aria-describedby` for fields can have different values:

-   `"{field.auto_id}_helptext"`
-   `"{field.auto_id}_error"`
-   both of them
-   a user defined value that is left unchanged

The approach in #716 was to use the value from `aria-describedby` for
the ID of the help text. Unfortunately, this only works in the first
case.

So I propose to solve this the same way the django templates solve this
and just hardcode the IDs.

* fix tests for django 5.2

* fix tests

---------

Co-authored-by: Dylan Verheul <dylan@dyve.net>
Source Files on build 14819098846
Detailed source file information is not available for this build.
  • Back to Repo
  • ce8ef0f7 on github
  • Prev Build on main (#13603873477)
  • Next Build on main (#14819106529)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc