Will improve accessibility for people who are visually impaired. Uses common method to mimic the title and alt properties of img elements for inline SVGs.
Will add two new arguments to createSvgTag:
{string|object} alt - Alternate description text (string) or alt text and individual element id (object) as {text: altText, id: individualId}
{string|object} title - Alternate title text (string) or title text and individual element id (object) as {text: titleText, id: individualId}
You're welcome! Sorry for not directing the pull request to development. The project I work on the most has reversed logic with the master branch being the development version, and I forgot to check.
Will improve accessibility for people who are visually impaired. Uses common method to mimic the title and alt properties of img elements for inline SVGs.
Will add two new arguments to createSvgTag: