$ sw_vers
cd /Library/Logs/DiagnosticReports
- `grep -ir ".panic" *
- Note: can also use Console app → System Reports
log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h
.blob-code-inner{ | |
white-space:pre-wrap; | |
} |
[role="button"],[role="checkbox"],[role="gridcell"],[role="link"],[role="menuitem"], | |
[role="menuitemcheckbox"],[role="menuitemradio"],[role="option"],[role="progressbar"],[role="radio"],[role="scrollbar"],[role="searchbox"],[role="separator"],[role="slider"],[role="spinbutton"], | |
[role="switch"],[role="tab"],[role="tabpanel"],[role="textbox"],[role="treeitem"]{ | |
outline:2px solid #000f8a; | |
outline-offset: -2px; | |
outline-style: dashed; | |
} | |
:is([role="button"],[role="checkbox"],[role="gridcell"],[role="link"],[role="menuitem"], | |
[role="menuitemcheckbox"],[role="menuitemradio"],[role="option"],[role="progressbar"],[role="radio"],[role="scrollbar"],[role="searchbox"],[role="separator"],[role="slider"],[role="spinbutton"], |
*{ | |
letter-spacing: 0.12em !important; | |
line-height: 1.5 !important; | |
word-spacing: 0.16em !important; | |
} | |
p{ | |
margin-bottom: 2em !important; | |
} |
[role="combobox"],[role="grid"],[role="listbox"],[role="menu"],[role="menubar"],[role="radiogroup"],[role="tablist"],[role="tree"],[role="treegrid"]{ | |
outline:2px solid #1e2eb8; | |
} |
:is(h1,h2,h3,h4,h5,h6)::after, | |
:is(h1,h2,h3,h4,h5,h6):empty::after, | |
[role="heading"]::after, | |
[role="heading"]:is([aria-level="1"],[aria-level="2"],[aria-level="3"],[aria-level="4"],[aria-level="5"],[aria-level="6"])::after{ | |
background: #ff8f51; | |
border:1px solid #e96115; | |
border-radius:4px; | |
color:#000; | |
display: inline-block; | |
margin:0 0.2em; |
*:focus-visible{ | |
outline:2px solid hsl(120,100%,50%) !important; | |
box-shadow: 0 0 0.25em 3px hsla(0,0%,0%,.60) !important; | |
} |
/* | |
tweaked version of a bookmarklet I found online (can't remember where now). | |
Added a `title` attribute to the `<style>` element to make it easier to find in dev tools. | |
tweaked the outline color and box shadow | |
*/ | |
javascript:(function()%7Blet a%3Ddocument.createElement('style');a.setAttribute('title','a11y-testing')%3Bdocument.head.appendChild(a)%3Bb%3Da.sheet%3Bb.insertRule(%27*:focus%7Boutline:2px solid hsl(120,100%,50%) !important%3Bbox-shadow: 0 0 0.25em 3px hsla(0,0%,0%,.60) !important%3B%7D%27,0)%3B%7D)() |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta | |
name="viewport" | |
content="width=device-width, initial-scale=1, shrink-to-fit=no" | |
/> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/zxcvbn/4.2.0/zxcvbn.js"></script> | |
<title>More-Accessible Password Strength Meter</title> |