This isn’t the 1980’s. We have better technology.
Given source code there’s no reason the document couldn’t be made available in a variety of formats, including more accessible formats than PDF.
But we stick to avatistic document representations because that’s what everyone has always done.