Support » Plugin: LuckyWP Table of Contents » HTML nav element instead of div for TOC container?

  • Hey!

    Thank you for a great plugin.

    As there is already an option to choose ul/ol for toc elements, maybe you would consider adding an option to choose the more semantic useful nav element for the toc container, instead of a div?

    The HTML <nav> element represents a section of a page whose purpose is to provide navigation links, either within the current document or to other documents. Common examples of navigation sections are menus, tables of contents, and indexes.

    https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav

    Kind regards
    Bjarne

  • You must be logged in to reply to this topic.