Skip to content

Add title attribute to epub.js iframe #81

@jmcglone

Description

@jmcglone

<iframe id="epubjs-view-f834724f-c9f5-4b2e-b4c6-e87254fe0b2e" scrolling="no" style="overflow: hidden; border: medium none; visibility: visible; width: 1668px; height: 270px;" srcdoc="<html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xmlns:epub=&quot;http://www.idpf.org/2007/ops&quot;>

  • add the book title(?) as the value to the title attribute
  • add role=main to the iframe element

Fix any of the following:

  • aria-label attribute does not exist or is empty
  • aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty or not visible
  • Element has no title attribute or the title attribute is empty

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions