Why is the dollar sign needed here in the attribute selector?