``` @Composable private fun emptyIcon() { ...
# compose-desktop
x
Copy code
@Composable
    private fun emptyIcon() {
        Box(
            boxModifier,
            contentAlignment = Alignment.Center,
        ) {
            Image(bitmap = squareImage, alpha = 0.2F)
        }
    }
Since build 142 I am kinda forced to set
contentDescription
? Kinda confused since it's a
String?
and I am using named arguments... very early here 😄
k
Is there a question? Content description is a mandatory parameter
x
but wasn't before right?
k
It's nullable, but no default value set in the function signature. So you have to provide it explicitly.
x
I wonder what the reason was to make it mandatory
k
Right there in the source and commit message
x
just for convetional sakes? Like best practise in HTML where one should always provide the
alt
attribute?
ok thx
k
Accessibility is not a convention
c
I guess it's incentive for people to use it (if you really don't want to you can create your own
Image
composable)
x
nah I am fine - just was wondering what and why this happened after I upgraded
👍 4