Problem/Motivation
If a header is hidden via CSS, it would be nice to not process it by default in the TOC. See https://www.drupal.org/docs/getting-started/accessibility/hide-content-p...
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | After patch.png | 20.54 KB | anjuelsaphilip2020 |
| #4 | Before patch.png | 30.78 KB | anjuelsaphilip2020 |
Issue fork toc_api-3571391
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
dave reidComment #4
anjuelsaphilip2020 commentedHi, I've verified and tested MR !36 and applied the patch successfully on TOC API 2.0.x-dev version. The changes are working as expected.
Following steps I followed:
Testing Result: After applying the patch, the TOC now excludes headers that are hidden via CSS, showing only visible headers.
Attaching screenshots for reference.
Thanks
Comment #5
anjuelsaphilip2020 commentedComment #8
joseph.olstadComment #10
joseph.olstadFYI: I've tagged this and put it into an RC1 release
2.0.2-rc1
https://www.drupal.org/project/toc_api/releases/2.0.2-rc1
Feedback is appreciated!