浏览代码

Remove the `focusable` attribute for dropping IE support.

Naotoshi Fujita 2 年之前
父节点
当前提交
984a7913b7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/js/components/Arrows/Arrows.ts

+ 1 - 1
src/js/components/Arrows/Arrows.ts

@@ -191,7 +191,7 @@ export function Arrows(
    */
   function createArrow( prev: boolean ): HTMLButtonElement {
     const arrow = `<button class="${ classes.arrow } ${ prev ? classes.prev : classes.next }" type="button">`
-      +	`<svg xmlns="${ XML_NAME_SPACE }" viewBox="0 0 ${ SIZE } ${ SIZE }" width="${ SIZE }" height="${ SIZE }" focusable="false">`
+      +	`<svg xmlns="${ XML_NAME_SPACE }" viewBox="0 0 ${ SIZE } ${ SIZE }" width="${ SIZE }" height="${ SIZE }">`
       + `<path d="${ options.arrowPath || PATH }" />`;
 
     return parseHtml<HTMLButtonElement>( arrow );