Open Entries tab of Insert - Table of Contents (etc.) dialog Select or hover over any widget (either in the Structure option or under). Press F1 Actual: 404 error Help ID: modules/swriter/ui/toxbuttonwidget/button Expected: Entries help page (according to which Type) is selected on the Type tab. In the case of Type Table of Contents, then it should be: https://help.libreoffice.org/7.6/en-US/text/swriter/01/04120221.html
Dione Maddern committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/9f8545f321c3569849c0bde94c225e1af922ed7f tdf#153917 Add hid bookmark for TOC Entries dialog
Due to the way the UI is designed, there is currently no way to link to the relevant page for each "Type", as far as I know. The content that appears in the "Entries" tab varies depending on what is selected in the "Type" tab, but the widgets on the "Entries" tab have the same hid no matter what is selected. So linking to the correct page for "Table of Contents" would result in help showing the wrong page for any other "Type". As a workaround, I've created a patch that links to text/swriter/01/04120220.xhp. That page directs the user to the relevant page for each Type of index. I'd like to find a better solution, but this at least stops the 404 error appearing and links to somewhat relevant content.
I'm going to close this, since the main issue is fixed