This article explains the differences between the px, em, and rem, and how they affect accessibility.
px
em
rem