collective.anysurfer
This package adds Anysurfer support to Plone. Anysurfer is a Belgian accessibility standard equivalent to WCAG 2.0 A.
This package is totally transparent for the user. It fixes various accessibility issues in Plone, in standard features, content types, body texts, forms, search results, ...
It also overrides Plone Accessibility info to allow its edition through the Anysurfer control panel.
Features
- Adds missing page titles for views / skins / 404 error page
- Add search results count in H1 and move H1 to the top
- Add search results count in page title
- Fixes News item image alt
- Removes empty
<ul>lists - Allows empty image alt
- Fixes 'Required' labels html position
- Replace Plone
replacetag="h2"by real tag - Replace default Accessibility info with a multilingual editable text
- Replace "nav" by "div" for breadcrumb
Compatibility
Version 2.x supports Plone 6.1 on Python 3.10 to 3.13, and Plone 6.2 on Python 3.10 to 3.14. For Plone 4.3 to 6.0, use collective.anysurfer 1.4.x.
The search page and breadcrumb overrides still use the Plone 5 markup.
Translations
This product has been translated into
- English
- French
- Dutch (with missing translations)
Installation
Add collective.anysurfer to the dependencies of your project
(pyproject.toml, or requirements.txt with the Plone constraints), install
it, restart Plone and activate the add-on in Site Setup > Add-ons. This
also installs collective.z3cform.datagridfield.
The accessibility text is edited in Site Setup > Anysurfer.
Development
Requires uv. This installs Plone 6.2.3 in .venv
(use PLONE_VERSION=6.1.6 make install for another version) and the prek git
hook:
make install
make start # Plone on http://localhost:8080 (admin / admin)
Create a Classic UI site from the browser, then activate collective.anysurfer.
Tests
Tests run through tox, as the CI does:
make test # Plone 6.2.3
uvx --with tox-uv tox -e py312-plone61 # one Plone / Python combination
make test-all # lint, every combination, dependencies
Without tox (the tests check French translations, so compile the .mo files):
zope_i18n_compile_mo_files=true .venv/bin/zope-testrunner --test-path=src -s collective.anysurfer
Lint
make check # format then lint (pyupgrade, isort, black, zpretty, flake8...)
Translations
make i18n # rebuild the collective.anysurfer catalog
.editorconfig, .flake8, .gitignore, .pre-commit-config.yaml, tox.ini,
.github/ and the tool sections of pyproject.toml are generated by
plone.meta: change .meta.toml, then run
uvx --from plone.meta config-package --no-commit --branch current ..
Contribute
- Issue Tracker: https://github.com/collective/collective.anysurfer/issues
- Source Code: https://github.com/collective/collective.anysurfer
License
The project is licensed under the GPLv2.
Contributors
- Godefroid Chapelle, Original Author [BubbleNet]
- Laurent Lasudry [Affinitic]
- Valentin Piret [Affinitic]
- Sébastien Sirtoli [Affinitic]
- Christophe Boulanger [iMio]
- Benoît Suttor [iMio]
Changelog
2.0.0 (2026-11-18)
-
Breaking: replace the
pkg_resourcesnamespace ofcollectivewith a PEP 420 native namespace. Support Plone 6.1 only on Python 3.10 to 3.13, and Plone 6.2 on Python 3.10 to 3.14. Use 1.4.x for Plone 4.3 to 6.0. [remdub] -
Drop the Python 2 and Plone 4 code:
HAS_PLONE_5andHAS_PLONE_6(which calledplone.apiat import time), the Plone 4 language handling andsearch.js, and the overrides of templates that no longer exist (accessibility-info skin template,plone.app.search). Registersearch.jsand the breadcrumb viewlet withoutzcml:condition. [remdub] -
Import
INonInstallable,IPloneSiteRootandsafe_textfromplone.baseinstead of the aliases Plone 6.2 deprecates. Port the tests tounittest,plone.testing.zopeandget_installer: they could no longer run on Python 3.10+ (unittest2) nor on Plone 5.2+ (portal_quickinstaller). [remdub] -
Configure the package with plone.meta 2.12.0 (test matrix on Plone 6.2.3 and 6.1), move its metadata to
pyproject.toml, convert the documentation to Markdown and run the development environment on Plone 6.2.3 with uv instead of buildout. Drop Travis and the buildout configuration. [remdub]
1.4.7 (2022-10-18)
- Change permissions : By default, configlet should be accessible for Manager AND Site Administrator [boulch]
1.4.6 (2022-08-17)
- Fix import error for
ILanguageSchemaon Plone 5.2 / 6 [laulaz]
1.4.5 (2022-01-19)
-
Get rid of includeDependencies for Plone 6 compatibility [laulaz]
-
Add
from_encodingparameter to BeautifulSoup transformations to fix encoding. [boulch] -
Include CMFCore permissions to avoid potential ComponentLookupError [laulaz]
1.4.4 (2021-08-09)
- Add Plone 6 compatibility. [bsuttor]
1.4.3 (2021-07-31)
-
Fix import from collective.z3cform.datagridfield [laulaz]
-
Fix python3 compatibility : use html.escape instead of cgi.escape [boulch]
1.4.2 (2021-01-06)
- Breadcrumb is already in a "div" in Plone4, so, we override plone.app.layout.viewlets.path_bar.pt. only for Plone5. [boulch]
1.4.1 (2021-01-04)
- Override plone.app.layout.viewlets.path_bar.pt. Change
<nav>to<div>[boulch]
1.4 (2020-11-18)
-
Add Plone 5 (Python 3) compatibility [boulch, laulaz]
-
Add uninstall profile [laulaz]
1.3.4 (2020-11-04)
- Content types images should be inside links in search results [laulaz]
1.3.3 (2020-06-17)
-
Avoid displaying 'None' title for unknown browser views [laulaz]
-
Avoid traversal error with unicode urls [laulaz]
1.3.2 (2020-06-15)
- Fix multilingual default text translations at install : #3 [laulaz]
1.3.1 (2020-05-28)
- Fix upgrade steps (1.2 -> 1.3) [laulaz]
1.3 (2020-05-28)
-
Override Accessibility info with a multilingual / editable / filled by default text. The text can be changed in a new Anysurfer control panel (upgrade step included) [boulch, laulaz]
-
Fix 404 / EN pages title handling [laulaz]
-
Update/fix buildout & tests [boulch, laulaz]
-
Make titles calculation more robust in [uni/multi]lingual websites : #1 [laulaz]
1.2.2 (2020-04-29)
-
Fix view titles calculation in multilingual websites : #1 [laulaz]
-
Add missing plone.api dependency [laulaz]
1.2.1 (2019-11-20)
- Harmonization of '(Required)' syntax for fields [laulaz]
1.2 (2019-10-04)
-
Add documentation, contributors, fix setup.py & use RST [laulaz]
-
Handle more Anysurfer usecases : empty lists, bad alts, required labels, ... [laulaz]
-
Move h1, add search results count in search page title & handle JS refresh [laulaz]
-
Handle 404 page [vpiret]
-
Migrate to plone 5 [oxydedefer]
-
Add missing translations for accessibility view title [laulaz]
-
Add missing translations for contact-info view title [laulaz]
1.1 (2012-11-12)
- Nothing changed yet.
1.0 (2012-11-09)
- Package created using zopeskel []
Metadata
Release files for collective.anysurfer 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| collective_anysurfer-2.0.0.tar.gz | 40.6 kB | Without provenance | Details for collective_anysurfer-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| collective_anysurfer-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for collective_anysurfer-2.0.0-py3-none-any.whl |
Total release size: 88.8 kB
Release files / collective_anysurfer-2.0.0.tar.gz
| Download URL | collective_anysurfer-2.0.0.tar.gz |
|---|---|
| Size | 40.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d56c8f66caf907281edfa9928097fb97fa829f54675678d900dca279ecfae080
|
|
BLAKE2b-256 checksum How to use checksums |
192a8f5504e1da7f33d69c7a0ca2df3b4372885c97e747cf0f6f284e3cc40a29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / collective_anysurfer-2.0.0-py3-none-any.whl
| Download URL | collective_anysurfer-2.0.0-py3-none-any.whl |
|---|---|
| Size | 48.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0483fb7d49b531462adb78194aca453dec2d9cab10052c683e2a3f35fb51e6df
|
|
BLAKE2b-256 checksum How to use checksums |
573a8b0336b2937db6638fcd4646689c5b31141e59657c751d009c4ab43c33fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Security for collective.anysurfer 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.