ParagraphLengthAuditor checks the length in words of HTML elements containing text, not the overall length in characters. You can use this auditor to check for pages with overly long text blocks. This can any HTML element that containing text which can be located by a jsoup query.
In addition to the common auditor properties, this auditor can be configured with the following properties:
Determines how a failed audit will be counted:
Defines the property name for storing failed audit results.
The property name should be unique among auditors or auditors may overwrite results.
Defines a message or explanation for a failed audit.
The message can have placeholders that are replaced with information about the node and auditor:
Added in v5.6.2
Defines the content fetcher for the selected node. The fetched content is then scanned for links.
There are two types of content fetchers available, for more about content fetchers, see: Content Fetchers.
A valid jsoup query. See this cookbook for more on jsoup queries.
Defines the maximum number of words allowed in the text block. If not specified, then the limit will be 150.
Here is an example from the SEO module. You can find this configuration here: