concept
Keyboard focus versus pointer targeting — CSS reference
Pointer targeting and sequential keyboard focus are separate. A button excluded from pointer targeting may still be focusable; use disabled for an unavailable native button.
Formal Syntax & Structure
css syntaxcss
button { pointer-events: none; }Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>Keyboard focus versus pointer targeting</title><style>body{margin:0}#a{padding:8px;background:rgb(232,237,241);color:rgb(0,0,0);box-sizing:border-box}#a{pointer-events:none}</style><body><button id="a">Focus example</button></body></html>