Skip to content

Commit a29cf74

Browse files
authored
Merge pull request #200 from mark-making/patch-1
Set the iframe title to comply with accessible best practices.
2 parents 623be68 + 105dcd8 commit a29cf74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/netlify-identity.js

+1
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ function init(options = {}) {
214214
store.setNamePlaceholder(namePlaceholder);
215215
iframe = document.createElement("iframe");
216216
iframe.id = "netlify-identity-widget";
217+
iframe.title = "Netlify identity widget";
217218
iframe.onload = () => {
218219
const styles = iframe.contentDocument.createElement("style");
219220
styles.innerHTML = modalCSS.toString();

0 commit comments

Comments
 (0)