按鈕的角色是 button ,如果不是原生 <button> ,應該要加上 role="button" 。 ... <section> <p>這是一個div 按鈕,執行列印功能</p> <div tabindex="0" ...
確定! 回上一頁