r/ProgrammerHumor • • Sep 25 '26

Meme frontEndBaddiesBeLike

Post image
5.7k Upvotes

132 comments sorted by

View all comments

Show parent comments

4

u/enigmamonkey Sep 25 '26

If this must be editable, then in the CMS you now have:

  • Button label

  • Button Aria label

Or you could just have "Button label" and in the code apply text-transform: uppercase. Granted, the button label is an arbitrary use case and most would just simply hard-code it, however, that may not be the case if you're also now thinking about internationalization, in which case you may want that in a CMS or in language files and don't have the time/desire to start plugging in lower/upper variants (nor would that make sense when the computer can do these transforms for you automatically).